Hi
I have dynamically created a chart, with 4 series (only 3 for data)
I had the marks.visible := true but the labels along the stacked series' were overlapping each other.
one workaround i thought was to have the marks.visible property true only if the series had a positive value. However this produced erratic results. I am wondering if it is possible to do this in a loop with one series.
Where my code loops through a set of records, each record has a value for each of the 3 series. I check the value of the variables holding the recordvalues, if not > 0 then marks.visible = false;
Once all values for the current Y axis value are ascertained, I then add the values to the series' from the variables.
Then add the series' to the serieslist
then the TJPegImage is created, and saved to file to display on my chart. then it is shown in the html of my report, the series' cleared and the loop starts again.
Is there anyone here who knows enough about dynamic chart creation to help me figure out either:
Why I am getting inconsistant results
or
How to stop the series labels (marks) from overlapping
Tracey
I have dynamically created a chart, with 4 series (only 3 for data)
I had the marks.visible := true but the labels along the stacked series' were overlapping each other.
one workaround i thought was to have the marks.visible property true only if the series had a positive value. However this produced erratic results. I am wondering if it is possible to do this in a loop with one series.
Where my code loops through a set of records, each record has a value for each of the 3 series. I check the value of the variables holding the recordvalues, if not > 0 then marks.visible = false;
Once all values for the current Y axis value are ascertained, I then add the values to the series' from the variables.
Then add the series' to the serieslist
then the TJPegImage is created, and saved to file to display on my chart. then it is shown in the html of my report, the series' cleared and the loop starts again.
Is there anyone here who knows enough about dynamic chart creation to help me figure out either:
Why I am getting inconsistant results
or
How to stop the series labels (marks) from overlapping
Tracey