Jump to content
JChartFX Community
  • 0

AxisX


mmd

Question

Hi ,

I am trying to set 1.1 1.2 1.3 ... 2.0 values for AxisX .. but it is seem like it only sees 1 for all the x values ..

neither setStep is working properly ..

Is it only int values that AxisX accepts ??

Thanks ..

mmd

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

solved with this approach ..


data.getX().setItem(0, 23, 2.3000000000000007);
data.getY().setItem(0, 23, -0.59);
data.getX().setItem(0, 24, 2.4000000000000004);
data.getY().setItem(0, 24, -0.59);
data.getX().setItem(0, 25, 2.5);
data.getY().setItem(0, 25, -0.59);
data.getX().setItem(0, 26, 2.5999999999999996);
data.getY().setItem(0, 26, -0.49);
data.getX().setItem(0, 27, 2.6999999999999993);
data.getY().setItem(0, 27, -0.39);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...