Hi, is it possible to add color of special grid line in QCPPolarAxisAngular class.? the way i found out is change qcustomplot.cpp
void QCPPolarGrid::drawAngularGrid(QCPPainter *painter, const QPointF ¢er, double radius, const QVector<QPointF> &ticksCosSin, const QPen &pen) { if (ticksCosSin.isEmpty()) return; for (int i=0; i<ticksCosSin.size(); ++i) { if(i ==0 || i == 7 || i == 13 || i == 20 || i == 26 || i == 33 || i == 39) painter->setPen(QPen(QColor(255, 0, 255), 2, Qt::SolidLine)); else painter->setPen(pen); painter->drawLine(center, center+ticksCosSin.at(i)*radius); } }
Is there any way without change qcustomplot.cpp