Comments (3)
HI @SelimRABOUDI,
I think you can program this chart handling the right highcharts events with javascript and updating the chart data. But I think this need more highcharts/javascript knowledge. I finded this example http://jsfiddle.net/highcharts/nsuA6/ and modified into this http://jsfiddle.net/tznwoc09/. It can be a start point to work. An alternative solution will be using shiny but maybe you need a standalone chart.
But going further. I think this funcionality is really interesting, for example when you are binning a variable and see rate from other varible in each group and you visualize and get the new categories/grups back to R. It can be treated like a shinygadet http://shiny.rstudio.com/articles/gadgets.html. It sounds interesting.
Anyway I think this can be achieve with highcharter but it will be need a lot of this things https://github.com/jbkunst/shiny-apps/blob/master/highcharter/server.R#L152.
So answer your points.
- Yes, its doable.
- Yes, because highcharter is a wrapper so if you can code or see and example using just js you can translate the code to R.
- I dont see any limitation. In my case the limitation is my highchart expertise using events XD.
I think this is not a feature, It need to be coded. Maybe after the new release of highcharter I will have time to work in this idea (chart and gadget). If you can start It would be happy if you show me and update ;)!
Tell me what you think.
Regards,
from highcharter.
Hi Joshua,
Thanks for your reply
Yes, the output I'm after is indeed a Shiny Gadget (as a RStudio Addin), where a user could create groups through window dragging, and get the corresponding code immediately. It would be extremely useful to intuitively create groups while preserving reproducibility.
At first I thought you could only pass strings to JS objects through htmlwidgets which I thought would be a limitation for the data exchange required between R and JS (points positions). But then I found out about JS()
I think I'll start working towards that. I'll first improve my knowledge in highcharts/htmlwidgets, and then see how this could be done.
Will keep you updated on this issue if I do any progress :)
Regards,
from highcharter.
Ok @SelimRABOUDI 😉
Luck with that! I'll close the issue. If I have some news I'll talk to you here.
Regards,
from highcharter.
Related Issues (20)
- Feature Request: Add TiledWebMap module functionality / Upgrade Highcharter Version
- Drilldown breadcrumbs
- Installation issues witth the package highcharter HOT 4
- Timezone adjustment via time object, using hchart()
- deprecated function unite_()
- Upgarde to HighchartsJS 11.2.0 HOT 1
- Output valid JSON only
- hc_exporting converts plot to dark mode HOT 2
- Docker build fail HOT 2
- Different scales for different variables in polar charts HOT 1
- Highcharter under r-shinylive HOT 1
- hcaes_string() doesn't work due to conflicts with other packages HOT 1
- Pie chart onPoint option not working as expected on hcmap/Feature request: update highcharts
- Create wordcloud output like wordcloud2 output style
- Add title to `hw_grid`
- Feature: enable color sea / oceans option - hc_add_series
- in Maps, the dashed borders have a scaling issue when zooming in and which only disappears if you hover your mouse over the lines.
- `unite_()` was deprecated in tidyr 1.2.0.
- Error when publishing to connect
- Add border radius features HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highcharter.