problem with axis labeling and grid
Posted: Mon Mar 02, 2009 2:48 pm
Hi,
we just switched from TeeChart 7.06 to 8.04.
Compiling the same project with 8.04 gives unexpected results for the axis in some cases.
I've uploaded some pictures at http://www.steema.net/upload/ .
At Problem with axis label and grid Pic3.jpg you see a chart with left axis from 0 to 200.
Changing the axis to -100 to 300 shows the expected result (see: Problem with axis label and grid Pic2.jpg).
In our application there is a function which clones a chart, thus makes a copy of the source chart and pastes it to the destination chart.
Now the problem becomes visible (see: Problem with axis label and grid Pic3.jpg):
The font of the labeling has changed and changing the left axis to -200 and 500 shows there is no grid and no labeling between 300 and 500 and between -200 and -100.
Using the chart editor to change the font size or color of the labeling doesn't show any effect.
Changing the color of the grid changes only the color of the lines already visible, but doesn't bring up the unvisible lines.
Saving the chart as tee-text-file before and after shows no difference in the two files.
After saving the chart and loading it as a new chart the axis behaves normal.
Do you have any idea what could cause this problem?
Is there a workaround to delete the axis and recreate it new at runtime?
Thanks and best regards
we just switched from TeeChart 7.06 to 8.04.
Compiling the same project with 8.04 gives unexpected results for the axis in some cases.
I've uploaded some pictures at http://www.steema.net/upload/ .
At Problem with axis label and grid Pic3.jpg you see a chart with left axis from 0 to 200.
Changing the axis to -100 to 300 shows the expected result (see: Problem with axis label and grid Pic2.jpg).
In our application there is a function which clones a chart, thus makes a copy of the source chart and pastes it to the destination chart.
Now the problem becomes visible (see: Problem with axis label and grid Pic3.jpg):
The font of the labeling has changed and changing the left axis to -200 and 500 shows there is no grid and no labeling between 300 and 500 and between -200 and -100.
Using the chart editor to change the font size or color of the labeling doesn't show any effect.
Changing the color of the grid changes only the color of the lines already visible, but doesn't bring up the unvisible lines.
Saving the chart as tee-text-file before and after shows no difference in the two files.
After saving the chart and loading it as a new chart the axis behaves normal.
Do you have any idea what could cause this problem?
Is there a workaround to delete the axis and recreate it new at runtime?
Thanks and best regards