Jump to content
JChartFX Community
  • 0
Sign in to follow this  
ChrisS

Auto-Computed Total value in stacked series

Question

Hi,

 

I'm looking to add a label of the total value of a stacked bar on a bar chart.  Currently I use a separate series as scatter chart type with point labels.  But I see there is a new feature listed under jChartFX 7.4.5649 (which I do have) in the release notes called "- Auto-Computed Total value in stacked series"

 

Do you have any further information on this new "auto-computer" feature?  How do we implement?  Example?  I don't see anything in the API manual on it.

 

Chris

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I apologize for the lack of docs.

 

chart1.getAllSeries().getStackedLabels().setVisible(true);

 
getStackedLabels returns a labels object so you can also change font and other visual attributes.
 
JuanC

Share this post


Link to post
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.

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...
Sign in to follow this  

×
×
  • Create New...