Hi All,
I am a newbie on KDChart 2.0.
I would like to control the (relative) position of KDChart::CartesianAxis objects and KDChart::AbstractDiagram objects in relation to the KDChart::Chart. So far, only KDChart::Legend has implemented which I would like to use for CartesianAxis and AbstractDiagram.
Currently, I align axis by modifying KDChart::Chart's globalLeading variables, e.g.
if I want to put the left beginning of a graph right at position X, I would do
Do any one know other ways to manage the positions of these objects? Thanks a lot.Qt Code:
KDChart::Chart::setGlobalLeadingLeft( X - xAxis->geometry().width()).To copy to clipboard, switch view to plain text mode
Bookmarks