jbkunst / highcharter

R wrapper for highcharts
http://jkunst.com/highcharter/
Other
720 stars 148 forks source link

hc_xAxis() crossing doesn't work #795

Open ondrejmichalek opened 1 year ago

ondrejmichalek commented 1 year ago

Hello everyone,

I've found out that option crossing in hc_axis() doesn't work at all (even if you add opposite = T as some original JS plugins suggested - https://github.com/highcharts/crossing-specific-value/blob/master/crossing-specific-value.js

xAxis still remains on 10 in the following code:

hchart(mpg, "point", hcaes(displ, hwy, group = drv)) %>%
        hc_xAxis(crossing = 35)

Does anyone have a solution or workaround to this bug? Thanks a lot!

ondrejmichalek commented 1 year ago

Okay, my fault. This funcionality is available only since highcharts 11, which was released only month ago, so It is not incorporated into highcharter.

Anyway, couldn't someone please help me with some workaround, until a new version is released?