Jump to content
JChartFX Community
  • 0

Dates


Shraddha Kulkarni

Question

Hi,

Single series bar chart - When I set the format as date to the X Axis then we do not get the data for last item. For e.g there are 8 datapoints (means 8 bars), if I set the X axis format as Date then we get to see only 7 bars. what must be the issue.

chart1.getAxisX().getLabelsFormat().setFormat(cfx.AxisFormat.Date);

chart1.getAxisX().getLabelsFormat().setCustomFormat("MMM-dd");

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...