score:7
Accepted answer
Use your colors in map
instead of Highcharts built-in ones:
colors: Highcharts.map(<?echo $myColors;?>, function(color) {
return {
radialGradient: { cx: 0.5, cy: 0.3, r: 0.7 },
stops: [
[0, color],
[1, Highcharts.Color(color).brighten(-0.3).get('rgb')] // darken
]
};
})
Source: stackoverflow.com
Related Query
- HighCharts: How to combine custom colors with gradient
- Styling bar colors in Highcharts with a gradient issue
- Highcharts - How to set custom colors for the series
- Highcharts 3D pie with custom colors
- How to Change marker symbol and dataLabel with custom style in Highcharts
- How can I combine highcharts with different but similar x-axis categories?
- Highcharts Theming: How to set gradient colors for certain chart types only?
- How can I specify custom end markers in a scatter series with Highcharts 9?
- Highcharts - apply gradient on custom colors
- How to have multiple highcharts with different series data in vuejs without repeating code
- How to combine highcharts (heatmap) and table (mapping each table row with heatmap row)?
- how do you create custom buttons with highcharts that each data buttons calls anather php script for its data
- Highcharts - how to export chart with a custom legend?
- Highcharts heatmap with custom colors for each yAxis
- How add linear gradient fillColor for line with highcharts
- How do you get the mouse hovered label value with the highcharts custom event plugin?
- How to use custom JSON (not GeoJSON) with Highcharts map?
- Highcharts with data from table, how to add custom marker for specific value from specific series?
- How can I change the colors of my highcharts piechart?
- Highcharts - how to have a chart with dynamic height?
- How to use highcharts with angular 5?
- How to include highcharts with bower?
- how to import highcharts with webpack and babel
- How to prevent highcharts from shortening labels with ellipsis
- How to export the whole page or html content with Highcharts not just the chart?
- How To Use Epoch Time With Highcharts Series Data?
- How to get rangeSelector to work with HighCharts
- How to align centre a custom label in highcharts
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- Highcharts custom visuals with Data binding PowerBI
More Query from same tag
- disabling click event for a series highchart
- High charts not displaying proper data timestamp
- Highcharts stacked column charts ( Parse json string for series)
- Highchart: endOnTick not finishing with the max extreme set for xaxis
- Angular 7 Highchart Node.marker not working on page load
- How to set custom color on stacked bar chart
- How to enable Highcharts marker clipping
- HightCharts : area range and spline in the same graph issue
- Is this a bug in JSFiddle and Codepen, or in Highcharts, or a limitation of Javascript?
- Highcharts x axis month and year showing twice
- Bug in Highcharts after exiting the full screen mode
- How to set xAxis only with time in Highstock step graph
- Manipulating array to add through setData on highcharts
- Displaying MoM in highcharts for uneven months
- Rotating the highchart
- Highmaps display correctly mappoints but not maplines
- In Highchart legend, Want to bring checkbox at start
- HighCharts doesnt get data from Flask endpoint
- Highstock custom datagrouping datetimelabelformats timeseries
- I cant save my highchart chart data in localStorage
- How to position Highcharts tooltip on top of bar or at 0 line of Y-axis for negative value
- Prevent column text overlapping
- Why is the line not displayed in the highcharts?
- Is there a way to fill different colors up to the desired point in Highcharts gauge graph?
- Uncaught TypeError: $(...).highcharts is not a function in aspx web page with master page but it is working with basic html page
- HeatMap with custom colors for each cell
- Large Y-axis tickInterval in high charts does not work
- How to change the height of a pane in highstock?
- High Charts Polar / Spider chart with off-graph y-axis labels
- How to prevent tiny bars on charts in Highcharts