DB Chart TOrgSeries difficult to use
Posted: Thu Jan 31, 2008 8:59 am
I try to use TOrgSeries in a data aware chart
I thought that I could use X and Y values, but that doesn't work
It only uses Y values and the Y values must refer to the row number of the parent node (-1,0,1,2,1......) and not a database value.
This make it difficult to write a SQL (but not impossible) that gives the correct result set.
My suggestion is to use X and Y values as as Parent,Child fields.
I also have some more suggestions
1) add a collaps/expand buttons on the nodes
2)be able to configure the nodes with values from the dataset (color,shape....)
Jørgen
I thought that I could use X and Y values, but that doesn't work
It only uses Y values and the Y values must refer to the row number of the parent node (-1,0,1,2,1......) and not a database value.
This make it difficult to write a SQL (but not impossible) that gives the correct result set.
My suggestion is to use X and Y values as as Parent,Child fields.
I also have some more suggestions
1) add a collaps/expand buttons on the nodes
2)be able to configure the nodes with values from the dataset (color,shape....)
Jørgen