Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions

Qt Charts



  • Hi,

    I am new to Qt charts.

    Which spline algorithm does Qt chart uses for interpolation between the points?
    I guess it is "cubic bezier curve". correct me if I am wrong.

    The reason for asking this question is we are trying to generate the same spline plot generated by Qt charts as it sits perfectly with our actual data points.

    88a7c968-59d6-4ff2-bac1-588201ba0773-image.png

    As you can in the above picture, we are trying to achieve "Our Spline" same as "Qt Spline".

    Any suggestion would be great.

    Regards
    Siva


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Good question. I think the easiest to ensure that is to go into the QtCharts module sources.


Log in to reply