CalcXSizeValues() incorrect for invisible chart
Posted: Wed Jan 11, 2012 4:25 pm
Hi.
I just regarded that THorizBarSeries.CalcXSizeValues() does always return 0 if the containing TChart is located on an not visible form (TeeChart Pro V2011).
I use this function for preparations of the series marks before exporting/printing a chart (automated export without showing gui).
The export of the chart works correctly, but calling CalcXSizeValues() on the series always returns 0 in this case.
I also tried calling Invalidate() and Repaint() on the chart, but the result is the same.
Is this a known issue?
Can you provide me any workaround?
Thanks for your help!
I just regarded that THorizBarSeries.CalcXSizeValues() does always return 0 if the containing TChart is located on an not visible form (TeeChart Pro V2011).
I use this function for preparations of the series marks before exporting/printing a chart (automated export without showing gui).
The export of the chart works correctly, but calling CalcXSizeValues() on the series always returns 0 in this case.
I also tried calling Invalidate() and Repaint() on the chart, but the result is the same.
Is this a known issue?
Can you provide me any workaround?
Thanks for your help!