User (Legacy) Posted September 25, 2003 Author Report Share Posted September 25, 2003 Hello, I tried to use the function in object but every value that i put into, the result is 0. from your example in the documentation : Dim xPix As Int32 = Chart1.AxisX.ValueToPixel(7) --> xpix = 0 (obviusly after populating my chart) It appears the same for the function PixelToValue, and if i try chart1.AxisY.PixelToValue(10), i mean for Y axis (for every value) the result is "infinite" [-1.#IND] What's happen? thanks Link to comment Share on other sites More sharing options...
User (Legacy) Posted September 25, 2003 Report Share Posted September 25, 2003 Hello, I tried to use the function in object but every value that i put into, the result is 0. from your example in the documentation : Dim xPix As Int32 = Chart1.AxisX.ValueToPixel(7) --> xpix = 0 (obviusly after populating my chart) It appears the same for the function PixelToValue, and if i try chart1.AxisY.PixelToValue(10), i mean for Y axis (for every value) the result is "infinite" [-1.#IND] What's happen? thanks Link to comment Share on other sites More sharing options...
Software FX Posted October 3, 2003 Report Share Posted October 3, 2003 Where are you calling this method from ? the chart must be visible and with a size assigned in order to make this calculation. We tried this method under this conditions and works like a charm. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted October 3, 2003 Report Share Posted October 3, 2003 Where are you calling this method from ? the chart must be visible and with a size assigned in order to make this calculation. We tried this method under this conditions and works like a charm. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.