Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify zoom and RangeSelector #51

Closed
Fooourche opened this issue Mar 3, 2016 · 4 comments
Closed

How to specify zoom and RangeSelector #51

Fooourche opened this issue Mar 3, 2016 · 4 comments

Comments

@Fooourche
Copy link

Hi Joshua

I'm building my highchart from scratch (with hichart() method) to specify each serie the option and i don't find the way to add a zoom and a rangeselector

 hc.pap <- highchart() %>% 
      hc_xAxis(categories = don.pap.sp$date) %>%
      hc_add_series(name = names(don.pap.sp)[2], data = don.pap.sp[,2],marker=list(enabled = FALSE),color='#CCCCCC') %>%
      hc_zoom ?
      hc RangeSelector ?

Thanks
Fabien

@jbkunst
Copy link
Owner

jbkunst commented Mar 3, 2016

Hi @Fooourche Fabien,

  1. The zoom is defined via hc_chart(...)
  2. There is a hc_rangeSelectorfunction ;) (http://api.highcharts.com/highstock#rangeSelector)

Regards!

@Fooourche
Copy link
Author

Ho Joshua

Thanks for the answear.
The hc_rangeSelector function only works for highstock type chart ? Doesn't
work for highchart type on my side

Regards

Fabien

2016-03-03 14:17 GMT+01:00 Joshua Kunst notifications@github.com:

Hi @Fooourche https://github.com/Fooourche Fabien,

  1. The zoom is defined via hc_chart(...)
  2. There is a hc_rangeSelectorfunction ;) (
    http://api.highcharts.com/highstock#rangeSelector)

Regards!


Reply to this email directly or view it on GitHub
#51 (comment).

@jbkunst
Copy link
Owner

jbkunst commented Mar 3, 2016

@Fooourche Yep, only for highstock :|.

@englianhu
Copy link

I tried to plot a Real Time Forex Graph, may I know how do I set a default hc_RangeSelector to zoom into 1 week graph?

By the way, is it possible made the real time graph to change only latest bar compare to whole graph?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants