score:115
Accepted answer
options can be set separately for each series.
var chart = new highcharts.chart({
chart: {
renderto: 'container'
},
xaxis: {
type: 'datetime'
},
series: [{
name: 'john',
color: '#0066ff',
dashstyle: 'shortdash',
data: [
[date.utc(2010, 0, 1), 29.9],
[date.utc(2010, 2, 1), 71.5],
[date.utc(2010, 3, 1), 106.4]
]
},{
name: 'mary',
color: '#ff0000',
data: [
[date.utc(2010, 0, 1), 60.9],
[date.utc(2010, 1, 1), 40.5],
[date.utc(2010, 2, 1), 90.0],
[date.utc(2010, 3, 1), 80.4]
]
}]
});
score:11
if you read the api here, you'll see the following text.
serie
the actual series to append to the chart. in addition to the members listed below, any member of the
plotoptions
for that specific type of plot can be added to a series individually. for example, even though a generallinewidth
is specified inplotoptions.series
, an individuallinewidth
can be specified for each series.
so you can add anything from plotoptions
.
demo:
series: [{
name: 'serie1',
data: [0,1,2,3,4,5,6,7,8,9],
color: '#ffff00',
linewidth: 4,
id: 'serie1',
step: true
}]
Source: stackoverflow.com
Related Query
- HighCharts : Is it possible to customize the colors of individual series?
- Customizing the colors of individual series in HighCharts
- Highcharts - How to set custom colors for the series
- rCharts: Change the individual point colors of a time series plot (Highcharts)
- Highcharts - Is it possible to customize the bars in column range type?
- HighCharts - how to customize the tooltip for dynamically added series
- How to make the selection of individual series dynamic in highcharts even after setting max and min?
- Use different colors depending on the number of series - Highcharts
- HighCharts Hide Series Name from the Legend
- How can I change the colors of my highcharts piechart?
- Customize tooltip and format the number to 2 decimal places of highcharts
- Hiding a Highcharts series without using the legend
- Is it possible to position Highcharts dataLabels depending on the value?
- How can i hide all the Series in highcharts at a time
- Possible to connect the zoom on two Highcharts graphs?
- Add a gap between the second and third series in a Highcharts column plot with four series displayed
- Show specific series values in the stack label using highcharts
- Is it possible to hide the line & symbol next to Highcharts legend items?
- Is it possible to hide the navigator in highcharts at runtime?
- highcharts link series such that turn one off turns off the other
- How can I delete all of the points from a highcharts series
- Highcharts - Scatter chart with a line connecting the dots in the series
- Sort the series data for every X-Axis in Highcharts
- Is it possible in highcharts to have 2 charts, sharing the same x-axis, but next to one another?
- How do I style the series labels on a Highcharts pie chart?
- How to remove the halo/glow around a marker upon hovering a series in Highcharts
- Highcharts add tooltip that has a small arrow pointing toward the series
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- How to customize the crosshair Line for Highcharts
- Highcharts Bubble Chart - How to move an individual point's data label (dataLabel) to the front/top
More Query from same tag
- highcharts with number_format
- Highcharts problem - showing labels in zoomable chart
- Highcharts area: x-axis in hours but showing multiple points in each hour
- Spring MVC: How to display Hashmap keys and values in highcharts
- Highcharts Custom Funnel
- Add lower labels to highstock control
- highcharts additional title opinion
- I want to display bar with minPointLength dynamically when value in null in highchart
- MonthPicker in Highcharts Stockchart not changing month
- Highcharts: Bar chart: Label width : nowrap
- Histogram type highcharts access to series
- Adding a custom drop down to highstock range selector menu
- Highstock, make yAxis as zero
- Highcharts - Segmented column bar
- Highcharts: How to combine Column Range and Line Chart?
- How to disable Angular Drop Down if the model is null or empty?
- Highcharts type flags with custom legend icon
- Highcharts - how can I change font size?
- Highcharts with Ajax call returning JSON file
- GeoJSON Not Working with Highmaps
- Highstock: Remove the word "Zoom" from the rangeSelector
- HTML5 Chart library that supports pinch zooming
- HighCharts datetime xAxis without missing values (weekends)
- Integrate Highcharts maps with react component
- Highcharts + add sub headers / group in legend
- HighCharts navigator and range scale not working?
- Highcharts / Typescript: How to use scatter3d rotation?
- Disable pinch to zoom in highstock/highcharts
- Dynamically creating mutiple Highcharts charts in Angular directive
- HighCharts change default x-values spacing to 0.5