Jump to content
JChartFX Community
  • 0

Items in the legend box



1 answer to this question

Recommended Posts

  • 0

Hello User92,

jChartFX allows you to invert the labels of the series in the LegendBox. In order to use the inverted property, please refer to the code below:

var lia = new cfx.LegendItemAttributes();

lia = chart1.getLegendBox().getItemAttributes().getItemList(chart1.getSeries());


Also, jChartFX provides the BringToFront and SendToBack methods. By utilizing those members, developers may control the order of SeriesAttributes in the chart. This property may be used to determine the original starting position for a selected SeriesAttributes object in the SeriesAttributesCollection. To display the first series to the Front or to the Back, please take a look at the code below:

// or

I hope this helps.

Jeison G

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