Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QChart and QLineSeries



  • Hello,

    I have a QChart with QLineSeries in it. I'm wondering if there is anyway to get the value of one point specific point of the line? For example if I have something like

    
    QLineSeries* series = new QLineSeries();
    series.append(0,0);
    series.append(1, 2);
    series.append(2,4);
    series.append(5,10);
    chart->addSeries(series);```
    
    

    Is there anyway to put in a value of 4 to get 8?


Log in to reply