Jump to content
Software FX Community

Public Function ValueToPixel


User (Legacy)

Recommended Posts

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

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

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...