decisionmaking
20th September 2010, 15:55
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
setFloatingPosition() 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
KDChart::Chart::setGlobalLeadingLeft( X - xAxis->geometry().width()).
Do any one know other ways to manage the positions of these objects? Thanks a lot.
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
setFloatingPosition() 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
KDChart::Chart::setGlobalLeadingLeft( X - xAxis->geometry().width()).
Do any one know other ways to manage the positions of these objects? Thanks a lot.