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
- How to show multiple HighCharts charts in the same page?
- Label position between series in Highcharts polar chart
- PHP spontaneously creates associative array where indexed array is required - using PHP arrays with Highcharts
- In highchart how to show y axis values in reverse order
- HighChart: How to get exact point / timestamp from plotBands click
- Highcharts add line-through to legend text when hidden (itemHiddenStyle)
- Highcharts: Can sunburst chart show percentage share to depict part-to-whole relationship like pie charts?
- Is there any way in Highcharts to auto show Labels/Text on a scatter chart?
- Tick and label for every xAxis Unit in Highcharts Chart
- Highchart: Plotting datetime chart issue when passing series map from java
- Can I use two different formatters for highchart tooltips?
- Installing Highstocks for Rails app
- HighCharts: Adding different type of data to points
- Setting color options on Highchart bar chart
- Highcharts gauge property
- Highcharts highstock x axis max/min not working with 3+ data elements
- How we can redraw the chart keeping the occurred events on click in Highcharts?
- implementing HighCharts-xrange in angular4
- How to position axis label in highcharts
- Cannot display a legend with special character in highchart from the serie name
- Remove onhover effect from column chart
- How to use HighStock's tickPositioner to set tick at end of month?
- Unable to update plot border width in highcharts chart
- Add additional data to point using DotNet.Highcharts
- Making a HighChart container draggble
- Highcharts gauge keep tooltip visible and centered
- Image not exporting correctly in highcharts
- How to Change Legend Text of a Chart Object in Crystal Reports 10
- How do I set the highchart gantt headers as fixed when I scroll vertically
- HighCharts with CodeIgniter results nothing for MySQL fetched data