bar series axis offset
Posted: Wed Jun 23, 2010 6:02 pm
TChart VCL v8.07
A strange and annoying problem:
I have two identical charts, each with 5 TBarSeries. Each series is populated with 3 sets of data, such that there are three groups of 5 bar series on the chart.
BottomAxis->Automatic is set true in both cases.
In the object inspector at design time, the bottom axis min and max offset is set to 60 in both cases. I did not set these manually. If I try to change them, it gets reset back to 60.
At run time: On one chart, the bottom axis min and max offset is set to 160, which is good. On the other chart, it is set to 60, which is not sufficient.
If I look at the dfm file for each, the offsets are not listed for the chart , and are set to 60 in the other. If I delete the offset settings in the dfm file, they become restored to 60 the next time I open it. The other chart dfm file remains as is --- with no offset settings listed.
It seems as if one chart is automatically setting the offsets correctly, but the other is fixed at 60.
Also, if I resize each chart the visible offset is not retained and goes negative as the chart size grows --- obscuring the left and right bars behind the chart boder. This happens at run time and design time.
Help?
thanks
Kevin
A strange and annoying problem:
I have two identical charts, each with 5 TBarSeries. Each series is populated with 3 sets of data, such that there are three groups of 5 bar series on the chart.
BottomAxis->Automatic is set true in both cases.
In the object inspector at design time, the bottom axis min and max offset is set to 60 in both cases. I did not set these manually. If I try to change them, it gets reset back to 60.
At run time: On one chart, the bottom axis min and max offset is set to 160, which is good. On the other chart, it is set to 60, which is not sufficient.
If I look at the dfm file for each, the offsets are not listed for the chart , and are set to 60 in the other. If I delete the offset settings in the dfm file, they become restored to 60 the next time I open it. The other chart dfm file remains as is --- with no offset settings listed.
It seems as if one chart is automatically setting the offsets correctly, but the other is fixed at 60.
Also, if I resize each chart the visible offset is not retained and goes negative as the chart size grows --- obscuring the left and right bars behind the chart boder. This happens at run time and design time.
Help?
thanks
Kevin