score:1
You can achieve the desired result by using setOptions
again like this:
Highcharts.setOptions({
plotOptions: {
line: {
//color: Highcharts.getOptions().colors[0] - by default
},
spline: {
color: Highcharts.getOptions().colors[1]
},
column: {
color: Highcharts.getOptions().colors[2]
},
pie: {
color: Highcharts.getOptions().colors[3]
}
}
});
plotOptions.{your series type}
describes default options for every series of the given type.
Live demo: http://jsfiddle.net/BlackLabel/d68m2qq8/
Source: stackoverflow.com
Related Query
- Highcharts - How to set a gradient theme for each type of graph globally?
- javascript - Highcharts - Type Bar - How to set different starting for each bar
- Javascript set theme for each graph
- How to achieve linear gradient for bar graph in highcharts
- Highcharts Theming: How to set gradient colors for certain chart types only?
- set different colors for each column in highcharts
- Highcharts - How to set custom colors for the series
- How to set a static minimum value for axes in Highcharts
- How do I set highcharts line graph point colors to an array of colors?
- Highcharts - In area chart how to use gradient color for multiple series?
- how can i add in highcharts a different dashStyle just for a part of the graph
- Highcharts - how to set textShadow for data labels
- How to make legend color show up in Highcharts for a line graph under certain conditions?
- HighCharts - how to set labels font color for printing?
- Set different width for each column in highcharts
- how to add dashed border on highcharts "area" graph for every point
- How do I use dates from a LinkedHashMap for the x-axis on a Highcharts line graph (using Thymeleaf)?
- In Highcharts, how to set up title for each pyramid in a multi-pyramid chart
- How to set border for a highcharts pie?
- My Highcharts graph with multiple axis ignores the max value I set for the first yaxis
- set individual color for each bar in bar chart using highcharts
- Highcharts how to make a set number of colors for pie chart data and drilldown data
- How to set xAxis maxRange/minRange for each rangeSelector button separately
- How to set xData as date (Y-M) for Highcharts synchronized charts?
- How to add labels for highcharts activity gauge for each series
- How to set up zoomType for Highcharts with the CodeIgniter lib
- show tooltip for each point of highcharts network graph in Angular
- How to set min start date for Highcharts plot?
- Set a different tooltip formatter for each sunburst levels - Highcharts
- how do you create custom buttons with highcharts that each data buttons calls anather php script for its data
More Query from same tag
- Highcharts/Highstocks: How to manually set the X-axis range
- Highcharts.js How to put current time label in the end of xAxis
- highchart click event Brakedown browser in iphone
- Highcharts: Rendering Incorrectly Prices between Percent/Value
- Laravel real time Highcharts
- highchart stacked column total data per categories
- Highcharts: how to be DRY with charts which share some configuration parts?
- enable / disable CrossHaires by external button
- Highcharts crash after adding tickpositioner
- Creating hyperlink on the highcharts stacked bar chat
- XAxis tick interval doesn't change automatically in highcharts gantt
- Padding between X-Axis labels in Highchart
- Changing Data for HighMaps JQuery to a local file
- How to fetch value from another series or data
- Plot Highchart Gauge with JSON Data
- highcharts render black on ajax refresh
- Highcharts has incorrect vertical bar position
- Highchart Bubble Chart Shadow
- adding series to highcharts from JSON
- Plot always starts at 0, highstock spline chart
- How to render image on Yaxis in highcharts
- Highcharts 3D render problem on setState()
- Displaying Stack name as legend key
- Highchart - Plot missing DateTime values on xAxis
- Issue removing and readding series to chart
- react-highcharts: canvas size changes when changing tabs
- how to render angular directive in Highcharts tool tip in Angular8
- High Charts Polar / Spider chart with off-graph y-axis labels
- How to put highcharts symbols on xAxis formatter?
- Highcharts tooltip on click mailto