-
Notifications
You must be signed in to change notification settings - Fork 397
-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom data labels for Line Plot #227
Comments
heavySea
added a commit
to heavySea/XChart
that referenced
this issue
Nov 2, 2017
Proposed in knowm#227, I added an extra String for Series. By default it is the same as "name" but can be changed with the method "setLabel". Also I changed the return types of the Setter to Series so you can concatenate those (like it is in inheriting classes). So you can do it now like this: chart.addSeries(...).setLabel(...).setShowInLegend(true);...
This is added at the latest commit. |
Thanks @hakantkn ! To make tooltips always visible use
To disable tooltips for single series, I use setToolTips() passing an array of null Strings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm aware that recently, data labels have been added to XChart. However, I believe it is still not possible to label markers with custom strings. What I have in mind is something as shown below:
The text was updated successfully, but these errors were encountered: