Git Product home page Git Product logo

Comments (3)

jbkunst avatar jbkunst commented on May 16, 2024

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.

  1. Yes, its doable.
  2. 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.
  3. 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.

selimrbd avatar selimrbd commented on May 16, 2024

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.

jbkunst avatar jbkunst commented on May 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.