multiple series labels and identifying
See original GitHub issueHi!! Nice and clean charts!!
i was wondering, i’m using multiple linechart series on my data and i dunno how to identify each line for each line is a diferent series, how can i label each line / colorline?
Data Example:
var data = {
//my labels
labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],
//my multiple series
series: [
//series1: label example: apples
[5, 2, 4, 2, 0],
//series1: label example: lemons
[8, 1, 14, 12, 10],
]
};
all i got is: http://oi60.tinypic.com/6q8fhv.jpg
but how do i identify each series?
thanks!!
Issue Analytics
- State:
- Created 9 years ago
- Comments:18
Top Results From Across the Web
Multiple Series in One Excel Chart - Peltier Tech
Fill in entries for series name and Y values, and the chart shows two series. The original X labels remain on the chart....
Read more >Add or remove data labels in a chart - Microsoft Support
Use data labels to quickly identify a data series in a chart. ... Click a data label one time to select all data...
Read more >Label line chart series - Get Digital Help
The chart above contains no legend instead data labels are used to show what each line ... Use the legend to identify line...
Read more >One label for multiple series - highcharts - Stack Overflow
I need to make one label responsible for multiple series data. As shown in this fiddle http://jsfiddle.net/HHqGN/ , I have two series:.
Read more >Chart Elements
Data labels identify individual data points. Data labels are a good way to emphasize or explain a particular piece of data on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi there and thanks! 😃 They get a default class that is generated. ct-series-a, ct-series-b, ct-series-c etc. You can also override by using the object series notation:
Then you’ll have two things available, first a class will be set on a group above the form elements (series group) as well as some custom attributes on your element containing the original data values. You can also check the new advanced example to attach behavior: http://gionkunz.github.io/chartist-js/getting-started.html#adding-behavior-to-your-charts
@wgbn search for chartist label plugin on NPM / Github.