Jump to content
JChartFX Community
  • 0

How can I remove the KeyLabels from the legend box?



I am trying to remove the KeyLabels from showing in the Legend box.  I tried following the documentation however its not working:

LegendItemAttributes lia1 = new LegendItemAttributes();
lai1.Visible = false;
chart1.LegendBox.ItemAttributes[chart1.KeyLabels] = lia1;


Could you provide an example of how it is meant to be used?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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