User (Legacy) Posted June 8, 2005 Report Share Posted June 8, 2005 Hi, I'm trying to produce a stacked bar chart, and everything seems to be going ok. I do an OpenData(), set all my point values, and then CloseData(). However, even after CloseData(), AxisX.Step and AxisY.Step are 0. And functions such as ValueToPixel() return 0 too... Is there any particular reason why that would happen? Thanks, Maan PS: I am trying to construct a rather basic chart (AutoScale, etc. are all enabled). Link to comment Share on other sites More sharing options...
Software FX Posted June 9, 2005 Report Share Posted June 9, 2005 Yes. The reason is the chart has not been rendered yet. All of these calculations are done at render time. You can call UpdateSizeNow to force these calculations at any time. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.