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

Update to highcharts 5.0 #202

Closed
sz-cgt opened this issue Oct 17, 2016 · 6 comments
Closed

Update to highcharts 5.0 #202

sz-cgt opened this issue Oct 17, 2016 · 6 comments

Comments

@sz-cgt
Copy link

sz-cgt commented Oct 17, 2016

@jbkunst

I forked your repository to add this but wanted to check something before sending you a pull request.

What's the intent behind the highchart2 HTMLwidget? Is that supposed to be a minimalist version of the highchart widget without either HighStock or HighMap capability? Or were you going somewhere else with it?

I ask because the 5.0 release added support for css styled charts (no more styling each element) in addition to the existing capability.

If the highchart2 widget is supposed to be a simpler, more lightweight version of highchart widget, then it makes sense to enable styled mode through it.

If not, then I will just create a highchart-styled widget in addition to the current widgets you have.

@jbkunst
Copy link
Owner

jbkunst commented Oct 17, 2016

@sz-cgt

highcharts2 add the boost.js extension to plot thouthand of points. This is a separate widgets because don't work highstock and other plugins.

About the hc5, the styling by options will keep maintained (as said @gvaartjes said http://disq.us/p/19tb00l). I dont want to go so fast with this important release.

I'm not sure how can your highchart-styled is implemented 😉 , and not sure if this will change the way we wrote higcharts widgets now. Do you have some examples? How different is change the styles?

@sz-cgt
Copy link
Author

sz-cgt commented Oct 17, 2016

Ahh... I didn't notice that boost .js was in the dependencies. That makes things simpler.

Swapping to styled charts is mostly a case of using different js libraries. The 5.0 installer includes both versions and the default is still fully optioned version. The styled version is really just a reduced code base that's missing all the style="..." generating logic.

Given they need different libraries loaded, this will have to be a different htmlwidget class, highchart-styled perhaps (actually that name is horrible)? That way nothing breaks for the current user base.

As background, I want to use the styled versions so I can manipulated the styling of my shiny apps without having to edit the server function each time - and lower the amount of data shiny is pushing to the client each time something changes. No examples yet, but I'll see if I can come up with something simple.

@jbkunst
Copy link
Owner

jbkunst commented Oct 17, 2016

@sz-cgt Ok, I'll wait ;).

Make sense what you said about send the style over and over. Not sure if this is a really issue if you set previously the theme via options (so you change once), anyway, it will be nice if highcharter can implement this feature.

Regards, ;)

@jbkunst
Copy link
Owner

jbkunst commented Nov 11, 2016

@sz-cgt I've added hc v5, see #208 ;).

If you want to add something like highchartscss() (or highcharts_css()) you can do something similar to https://github.com/jbkunst/highcharter/blob/dc7be246e80a0dbaf996f8a96d86ec5519903e31/devscripts/download-highcharts-code.R, and script to automatically download the highcharts script from and specific versión.

If you are a little busy maybe I can do it XD.

@sz-cgt
Copy link
Author

sz-cgt commented Nov 17, 2016

Yes, have been a little busy. I’ll play with this over the Thanksgiving break.

From: Joshua Kunst [mailto:notifications@github.com]
Sent: Friday, November 11, 2016 8:28 AM
To: jbkunst/highcharter highcharter@noreply.github.com
Cc: Stephen Zander Stephen.Zander@cedargate.com; Mention mention@noreply.github.com
Subject: Re: [jbkunst/highcharter] Update to highcharts 5.0 (#202)

@sz-cgthttps://github.com/sz-cgt I've added hc v5, see #208#208 ;).

If you want to add something like highchartscss() (or highcharts_css()) you can do something similar to https://github.com/jbkunst/highcharter/blob/dc7be246e80a0dbaf996f8a96d86ec5519903e31/devscripts/download-highcharts-code.R, and script to automatically download the highcharts script from and specific versión.

If you are a little busy maybe I can do it XD.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/202#issuecomment-259968362, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALFQPl5p4DuTB9jUO1Cyg9HPHwbzi2SLks5q9HuKgaJpZM4KY1J2.

@jbkunst
Copy link
Owner

jbkunst commented Jan 3, 2017

I will close this due inactivity ;)! We can reopen the issue if is needed.

@jbkunst jbkunst closed this as completed Jan 3, 2017
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

2 participants