score:1
Figured it out! I can put the max
in the hc_yAxis_multiples
and in hc_plotOptions
, instead of using series
, I use column
.
highchart() %>%
hc_yAxis_multiples(list(title = list(text = "%, OTD"),lineWidth = 0, labels = list(format = "{value}%"), max = 100), list(title = list(text = "Qty, Volume"), opposite = TRUE)) %>%
hc_xAxis(title = "Sites", categories = paste0(SiteOTD$Plant.Name,"-",SiteOTD$SBU), labels = list(step = 1, rotation = -60, style = list(fontSize = "1.0vh"))) %>%
hc_add_series(SiteOTD, "column", hcaes(x = Plant.Name, y = round(OTD,2)*100), name = "On Time Delivery", yAxis = 0) %>%
hc_add_series(SiteOTD, "line", hcaes(x = Plant.Name, y = Shipments), name = "Volume", marker = "diamond", color = "#FF7900", yAxis = 1) %>%
hc_tooltip(crosshairs = TRUE, headerFormat = "<b>{point.x}</b><br>") %>%
hc_legend(enabled = FALSE) %>%
hc_plotOptions(column = list(colorByPoint = TRUE, colors = SiteOTD$Colors))
This removed the functionality of shared = TRUE
in hc_tooltip
which is slightly annoying though.
Source: stackoverflow.com
Related Query
- High Charts Column Chart - Y axis Label Formatting
- Generating highcharts issues in dual axis column chart
- Angular 7 High Charts Stock Chart Datetime X Axis tooltip formatting independently of other tooltips
- Google Charts, HighCharts or ChartJS Dual Axis Gantt Chart and Line Chart Visualization
- R Highcharter: Formatting dual y-Axis chart
- Possible to create a dual y axis chart but where the secondary y series is using a secondary x axis?
- Highcharts highstocks - Dual chart axis issue
- How can I do a dual axis using highcharter library?
- Highcharts dual X axis chart not scaling axis
- Formatting axis label in high chart using dynamic values
- how to pass multi sereis data with dual y axis chart in highchart
- Highcharts: Dual axis chart with xAxis categories in legend?
- Number Formatting at Highcharts Chart Values?
- Highcharts: min value of y axis on the bottom of chart
- pie chart highcharter R
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts: X and Y Axis cross at zero in scatter chart
- Highcharts Column chart with drilldown, remove hyperlink like formatting from x-axis labels
- How to add space between chart and axis in highcharts
- Two y Axis in Highcharter in R
- How to set dataLabel Format and axis label angle in R highcharter package
- Highcharts blank chart with x and y axis
- Highcharts - Display only year in x axis and stop auto formatting
- Highchart Axis Update/ chart redraw
- Dual axis using percentage and absolute value to same serie in Highcharts
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Chart series point added not sync with X axis
- How to build an Organization Chart with highcharter
- Formatting datetime in Highcharter tooltip
- How to place x axis labels on top of horizontal bar chart
More Query from same tag
- Can I add custom data for highcharts RSI indicator?
- HighCharts getJson - Unable to display
- Is there any way we can use Highcharts with mPDF converter?
- Wkhtmltopdf fails to printing SVG path (highchart)
- highcharts-react-official, how to implement setOptions from the official documentation, in react?
- Highcharts get table from range selected only
- Highcharts area charts with single data, not rendering
- ng serve causes error: "cannot use namespace as a type"
- How do you execute javascript on demand
- How to create highlight area under curve in high chart?
- how to format flot char yaxis by value seconds in highcharts?
- $scope.$watch ... make it return a function on another scope?
- Highcharts - synchronized-charts crosshair line and circle point display
- Highcharts - How to Highlight a specific portion of a line graph?
- unable to get series id in HighCharts chart
- JSON, Highcharts and Coldfusion json data
- How to show all data in highchart when having less catgories?
- How to setExtremes in xAxis event handler?
- How to create dynamic update spline Highcharts chart?
- Dynamically add data to series in Highcharts
- How to add Series dynamically in Scatter type chart using highchart?
- Highstock vs Google Charts in Performance
- Highcharts MapBubble - Is it possible to load the data by using the data module?
- How can i configure this milestone in HighStock
- Incorrect date on the x-axis
- Directive cannot replace variable in template: Syntax Error
- Angular2: highcharts-angular chart doesn't render
- Angular2 HighCharts Can't Find Module highcharts-3d
- Highcharts drilldown with more than one series
- Highcharts: bar/column chart label position with values of 0