Jump to content
JChartFX Community
  • 0

Adjusting the PointLabel distance from the bar



1 answer to this question

Recommended Posts

  • 0

This code will push the labels 6 pixels away from the bars in a gantt chart, please note that in vertical galleries, the offset is used as X,Y but in Gantt is reversed to Y,X.


    var pointLabels = chart1.getAllSeries().getPointLabels();



Note that the depth of a 3D bar depends on the number of bars in your chart so the offset might have to be changed depending on the total number of points*series in the chart , we will research if we can change our behavior so that the labels do not get painted over the face of the lateral side in a gantt chart.  



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.

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.

  • Create New...