score:1
try to use colorbypointer parameter
score:1
this will change the color of each column in your series. obviously, you can choose whichever color you want.
values <- c(25,50,75,100)
vcolor <- c("orange", "green", "blue", "red")
a <- rcharts:::highcharts$new()
a$chart(type = "column")
a$series(data = list(
list(y = values[1], color = vcolor[1]),
list(y = values[2], color = vcolor[2]),
list(y = values[3], color = vcolor[3]),
list(y = values[4], color = vcolor[4])
), name = 'data')
a
carlos
Source: stackoverflow.com
Related Query
- rCharts : Highcharts column with color based on value
- Highcharts column chart color by single color but with different brightness level as per respective column value
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- Highcharts Change Bar Color Based on Value
- Highcharts dynamically change bar color based on value
- Highcharts - Column With Negative Values - Column Color
- Change Datalabel Color, Rotation and Align values based on Column value in highcharts
- highcharts: column chart color change based on value
- Highcharts Change Bar Background Color Based on categories value
- Highcharts with range out of bound value highlight with different color
- How to change color of bar in column chart with different level of percentage in highcharts
- Multiple different chart types stacked, column type with y value as color
- Highcharts stacked column don't show the stacked with min value
- HIGHCHARTS - Value of Columns Based on previous Column Value
- Highcharts Dynamic Column color based on data comparison
- How to change gauge meter color based on value in highcharts
- Column based Highchart drilldown series assign color code to each column
- Dynamic column based highcharts feeding data with jquery and php
- Highcharts line color based on other data than value
- How to dynamically change line color based on value being lower than previous in highcharts
- Highcharts - Add Point to chart with different color based on some condition dynamically
- Set color of Highcharts series bar based on value
- how to create a column char with highcharts where each column has a different color
- Highcharts bar chart with bar colored based on value
- Highcharts dataGrouping approximation column point color based on column value?
- Highcharts - Stacked Bar Column - Total Value of Stacked Bar not Correct with Negative and Positive Values
- HighCharts - two Y-axis, one with max value
- rCharts with Highcharts as shiny application
- How to show a column with the value Zero in Column chart in Highcharts?
- Change color of bars depending on value in Highchart bar-chart with MVC3
More Query from same tag
- Angular2: highcharts-angular chart doesn't render
- HighCharts : dynamic data with drill down
- display two charts with IE
- Can a Highcharts Polar chart have a logarithmic y-axis?
- Creating dynamic Highcharts based on an array
- Update HighCharts every 5 seconds
- export multiple highcharts with text area for their highcharts to multiple PDF file
- Django chartit loading jquery and highcharts js
- How to retrieve/display title, units, copyright along with JSON data in Highcharts
- Highcharts variable pie legendItemClick does not hide or update data
- Removing gaps before first and after last columns in Highcharts
- Set minimum data interval for y axes on Highcharts
- Subtitle and title at bottom of highcharts
- Adding flags to Highstock chart (highcharts) with JavaScript
- How to add image to High-chart?
- Date data from MySQL to Highcharts
- How can I move legend in Highcharts?
- How to aggregate boolean values in elastic search?
- Highcharts y axis and x axis display
- Highcharts tree map showing wrong min value
- how to create a highcharts area with the top area highlighted?
- Highcharts xAxis
- Click event for bar-chart using Highcharts not working?
- How to set new yAxis data in chart dynamically (highcharts + angular2(4))?
- Generate highcharts from v-for not populating all graphs with data
- Is possible to change "lineColor" in 3d charts?
- Highmap for US location based Latitude and Longitude not supporting highmap.js file
- HIghcharts Map from GeoJSON Data Showing Up Too Small
- Is there way to skip empty value ticks?
- Issue loading JSON in Highstock