Jump to content
JChartFX Community
  • 0

Shows the Text property of the Point object.



I'm trying to put a custom text on the PointLabels in a pyramid graph but the only way that i have seen is with:


But i don't know how to change the "text property of the point object"


Someone can help me? Someone know other way to change this text?


Thanks in advance



Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Normally, the labels are provided along with the data, e.g.

    chart1.setDataSource([{"Value":10, "Product":"ABC"}, {"Value":18, "Product":"DEF"}, {"Value":6, "Product":"GHI"}]);
    var pointLabels = chart1.getAllSeries().getPointLabels();

Note that to show the label you should use lowercase L in the format.



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