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
- How to return series/point data from mouseover event?
- Spline chart rounded edges
- Waterfall Highchart to start some of the columns in between the series with 0 y-axis
- Highchart, how to add commas to point data in tooltips
- highcharts polar chart, move labels individually to fit small space
- Update whole data series for the graph
- highstock: how to change color in areaspline when series intersect sma
- Highcharts error #17 when adding series to the chart using angular 4
- HighChart created before $.getJSON
- Highcharts display scrollbar when zooming
- How To Load Plist Data On HighChart Using Objective C?
- How to IF value in Highchart label
- Show tooltip and keep it visible
- Cannot find proper JSON array syntax for Highcharts
- Issue in width of the chart
- Highcharts Highmaps How to change value for color axis in map bubble
- Highlight highcharts bars on mouse hover events
- Highcharts: Remove extra margin y-axis when plotting multiple series
- How to get the exported image without moving from the current window when using mobile devices
- In HighCharts, how can I make the color for each plotted point in an array dependent on a value in a corresponding array?
- Exporting of tooltip in highcharts
- Why is "Download CSV" repeated in my charts dropdown?
- Customise Highcharts Pie Chart Selection State so that slice does not animate out when selected
- highcharts datatable - function parameters
- Stacked barplot incorrect category labels
- Highcharts Pie Missing Legend
- Labeling for Highcharts Funnel Visualization
- Show total for whole group in Highcharts 'stacked & grouped column' layout
- Highcharts - show only selected points
- Highchart drill up function now working in reactjs