score:1
If you want to adjust the color for this series, you can use https://api.highcharts.com/highcharts/plotOptions.series.color. So you would just set your series like:
series: [{
showInLegend: false,
data: [
[0, 29.9],
[1, 71.5],
[3, 106.4],
[4, 300.4],
[5, 400.4],
[6, 20.4],
[7, 40.4],
[8, 120.4],
[9, 50.4],
[10, 230.4],
[11, 110.4],
[12, 500.4],
],
color: '#ff0000'
}]
See a working demo at https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-color-specific/ from their documentation or https://jsfiddle.net/pkcrt5q2/ for your specific example.
Additionally, you can set this as a global option as described at https://api.highcharts.com/highcharts/colors.
Highcharts.setOptions({
colors: ['#ff0000']
});
Working demo: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/chart/colors/
Source: stackoverflow.com
Related Query
- How to change the background color the chart area in high charts?
- How to change the background color of measure tool in stock chart in highstock?
- How to change the label color of Y-Axis on click in angular Gantt chart High Chart
- How to append dynamic values to the area chart in High charts or convert the data to arrays?
- How to Change the color of the text in donut chart
- How can I put custom color in High Charts PIE data | Slice and want to change slice text
- How to change the color of single point in spiderweb chart
- How to change the background series colour of Highcharts Radar chart
- How to set color of each slice in pie chart in high charts library?
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- How to change the background color of the Highcharts(HighMaps in specific) dynamically?
- how to change the color of column in chart ?
- How to change the series color and mark after I draw the line chart in highcharts?Does it has databound event?
- How To Change The Color of specific span of data in a chart
- How can I change the background color of horizontal bar if date value is less than to current date?
- How to change the X and Y axis names of Pie chart High Chart?
- highcharts: How do I change the color of the chart above?
- how to change my pie chart color according to the value
- High charts Change the color of horizontal bar
- how to change the slice color in donut chart on click of slice?
- How to use the tooltip formatter and still display chart color (like it does by default)?
- How to change the text color in Highcharts
- Change color of area chart programmatically in highcharts
- How to disable the on-hover color change in Highcharts?
- change legend color high charts based on data
- Highcharts, How can I change the datalable distance in a pie chart based on the value
- How do I reduce the space between title and chart of a High Chart?
- How to set the x value for High Charts error bar
- How do I set the background color of a Highcharts HTML label?
- How to use add series and update methods in the high chart wrapper for angular?
More Query from same tag
- How to add image/icon to a chart in Highcharts
- highcharts x-axis for 1 year displays tick/label of year +1
- Highcharts custom attribute with datetime line chart
- Refresh highchart after hiding bar data
- Can't access custom value from point HighCharts
- How to avoid duplicate X time axis labels
- Highcharts horizontal scroll
- How to concatenate 'this.name' with HighCharts & PhantomJS
- How can I disable on hover marker animation in Highcharts 6.x?
- How can I contain a label on a Highcharts area chart to the series' area
- Add another json object in each json object inside json array
- Not able to render the charts in pdf using Wickedpdf and Highcharts in rails 2.3 app
- Testing Highcharts with protractorjs/Selenium
- Highcharts column color
- Highchart's Polar Chart: Apply Gradient Color on Intersecting Area Series
- Highcharts 3D Scatter Plot: Change Description shown when hovering points
- Stock chart timeline buttons and date field left align with chart
- React: How to show correct date and plot data as Months in Highcharts
- How to display historical data and live data from database using Highcharts
- Name bars in highcharts bar chart by data
- highcharts animation multiple spline per second
- Color the portions of chart using "Google 3D Pie chart API" in Android
- How to do grouping in Array of Objects in angular 8
- Set tooltip dynamically in HIGHCHARTS
- Highcharts / Highstock scroll default position
- Add initial and final date to Range Selector Highstock
- spline chart highchart to fill the color in series
- highcharts not displaying graph
- Areaspline: edge to edge lines and hide first y label
- How to create a Highcharts extension for an Angular 6 Component