score:1
You can always simply set colors for series/chart and then set colorByPoint
to true, see: http://jsfiddle.net/QgBpk/
The good thing is that you don't need to preprocess your data to add color for a specific point.
score:1
The details for how to do this are clear in the API documentation: http://api.highcharts.com/highcharts#series.data.color, you can set the color on an individual data point, see here:
So, from your example this does what you want:
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: "bar"
},
xAxis: {
categories: [ "July", "August", "September", "October"]
},
series: [{
data: [2341, 1245, 989, { color: 'red', y: 1829 } ],
}]
});
If you want to change the colour later then the linked answer in the comments shows how -- there is a loop there changing all the points, you can use it to change just one.
Source: stackoverflow.com
Related Articles
- Changing bar colors on data that is within the same series data
- How to draw two series in the same chart that has different data time in xAxis
- Changing data dynamically for a series in Highcharts
- Changing Highcharts data series type dynamically
- Highchart data series filled with different colors
- Highcharts: update series on multiple charts with same data
- Changing data in HighCharts series causes y-axis to blow up
- Several Series with the same xAxis data in HighChart
- Highcharts: make y-axis extremes the same for two data series with different units
- Highcharts show the same yAxis start and end value with multiple data series
- How to feed series data that has x axis and y axis values in line highcharts?
- How to map values within a data series to different y-axes?
- Toggling 2nd pane data within a Multiple Series Highcharts Chart
- Highcharts same types of data with different series
- Highstock weird y-axis scale difference in same data dual series
- What's the code in Highcharts such that the bars (columns) in the same group use the same color?
- Fixing/discounting a data series when changing chart-type in Highcharts
- highcharts - zoom issue after changing series data
- Changing data series type dynamically with Highcharts-angular
- Highcharts series visibility with csv data source
- Updating data points that have changed on invisble HighCharts series issue
- Highcharts : using same div to load a chart multiple times with different series data
- How to have multiple highcharts with different series data in vuejs without repeating code
- FusionCharts Failed to draw different chart on same data source
- Highcharts Update Grouped Series Data Point Colors
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- what is wrong in this data series that high chart does not plot it?
- LINQ that groups data and returns series for chart
- Highchart Color Issue for series with single data with multiple colors
- Series and categories data not changing dynamically
- With mouse click zoom chart as popup fullscreen (highcharts)?
- jQplot with tooltip for the peak value?
- Display a tooltip for two points with exactly the same time
- The use of string argument in an "IF" statement
- Knockout.js calling method outside of view model
- Align points with grouped bars
- Highcharts dynamic height with table layout
- Highcharts: display peak values
- highchart's line chart with constant series not plotting when using linear gradient colour
- How to highlight and show tooltip for correct (left / right) step point instead of the closest point
- Parse CSV for multiple categories in Highcharts
- Highstock navigator padding issue
- Highchart bar chart datalabels overlapping issue
- Show label only every x number of steps in highcharts
- "TypeError: c.slice is not a function" when trying to call a function within JQuery
- highchart boost doesn't render correctly when going above y-max
- Data format and X/Y configuration for dynamic csv display
- Highstock timeseries chart is shrinked
- Hide or Disable Legend or Label in the end Highcharts line
- How to set minimum height of data element of series in stacked bar chart?