-
Notifications
You must be signed in to change notification settings - Fork 147
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
Plugin #28
Comments
Hi @Fooourche 😄 Is simple to add but I need to check this plugin dont break other functionalities like maps, etc. Anyway, what situation motivates you to have this plugin ;)? Regards, |
Hi Joshua, Thanks for the quick reply. I've been doing a shiny app which graphs via higcharts weather forecast Ths a lot 2016-01-27 21:38 GMT+01:00 Joshua Kunst notifications@github.com:
|
Hi, I think it's possible with a little javascript code. I added the plugin and it seems all work: http://jkunst.com/highcharter/#draggable-points In the next week I'll work in your idea and publish here https://jbkunst.shinyapps.io/highcharter/ Let me know if you use this plugin ;)! |
Thanks a lot Joshua !! i'll test tomorow. Let me know if u handle my Thks 2016-01-31 0:44 GMT+01:00 Joshua Kunst notifications@github.com:
|
Hey Fabien, I think I get what you want. It was fun. Check https://jbkunst.shinyapps.io/highcharter/ the time series item. The key parts were:
Tell me if this help you ;)! |
Hi Joshua, I get some time to code and i tried to go back to your application but it's Thanks 2016-02-01 17:11 GMT+01:00 Joshua Kunst notifications@github.com:
|
Hi Fabien, I reached the limit in the free plan. Sorry. Try with:
|
Thanks, I'm going to try. I followed the example, so do u have an idea ? Thanks Fabien 2016-02-09 13:50 GMT+01:00 Joshua Kunst notifications@github.com:
|
Always is good send the code you try tu run ;)! It's easy for me to replicate the error. I'm not sure what example your'e trying to do. Can you paste it? |
Sorry, Here are the datas in the rda files and here is the code i try to run : highchart() %>% 2016-02-09 14:57 GMT+01:00 Joshua Kunst notifications@github.com:
|
change
to
|
waw what a stupid error, sorry for the wast of time Fabien 2016-02-09 16:30 GMT+01:00 Joshua Kunst notifications@github.com:
|
No problem ;) |
Hi Joshua @jbkunst, If you have two draggable lines, how should you cope with that? Tim |
Hi Tim @tbenschop You can know/detect the series name with/using
And:
|
Thanks for the quick reply @jbkunst. Maybe my question was not clear enough. I want to give the user the flexibility to change 2 lines in a chart and show the data points for both lines in a table. |
Maybe something like:
And:
Something like that. |
Thanks @jbkunst |
Hi Joshua,@jbkunst |
Hi @tbenschop , Test with:
References: |
@jbkunst Thanks. I tried both options form (javascript and jquery) and it doesn't work. The document.getElementById('name').value==this.series.name seems to be always true.. and the example you provided also doesn't work the way I implentend. I have it as an example in my repo: https://github.com/tbenschop/Highcharter if you have time. Otherwise I just try more myself. Nevertheless, thanks a lot Joshua. |
@jbkunst Joshua, Would you have time to have a quick look at this? I also created a SO Question |
Add to the javascript event the next code and see the messages to check if the values are the same what you expect
If NOT what you expect maybe you need tofix the code. If IS what you expect, tell me again what you try to do because I lost the point ;). Finally, it's much better to put a lot of console.log to know what is going on :D in the development process. gl |
@jbkunst Thanks, this works. Let me explain what I try to do: |
@tbenschop I see a little clearer now. Did you have succes now? |
@jbkunst Yes it works, thanks a lot. I hate it to ask that many questions as my javascript knowledge is that little... Is it also possible to refresh the table not only with the |
@jbkunst Seems that this does not work when the selectInput filter is a renderUI filter. JS doesn't seem to find the value then as described here: daattali/shinyjs#33 |
Did you generate the selectInput via a renderUI, right? Is this really necessary? |
Yes unfortunately I need it.... I've spend the entire day with this workaround: https://gist.github.com/jcheng5/8441665 and have not succeeded yet but I'm getting close. |
Maybe you can re-chart the highchart when you remake the ui. gl |
@jbkunst Thanks for the suggestion but I fixed it with JS and some logic: new ui's to identify which filter it is:
JS in graph:
update table:
If you are interested in the total code you can check it out on my github |
@jbkunst Do you know if there is already a solution for the renderui issue? My filters are becoming more complex and the logic is getting overly complex... |
Hi @tbenschop If your think the app is getting too comlpex maybe you should rethink about how you are developing the app, may be separate funcionalities in litter ones, etc. I dont know your app but remeber shiny is dashboard oriented and not for ultracomplex sites (exagerating) . If you think the way your doing is THE ONLY way, then assume it and do it: The app's complexity is proportional to the code complexity. |
@jbkunst I think you are right...... |
Thanks. I'll check. |
I made a mistake, I removed underscore ( I recommend use Thanks for report the issue! |
@jbkunst Thanks for the fix! |
Can you share your code? Let's start from that ;). I don't see any tricky part in the example so I almost sure we can plot waterfalls. |
@jbkunst Thanks for the quick reply. It now worked, I forgot to let the Everything works except the
Great that this also works! Thanks. |
Please remember, in the highcharts exampels, all the functions arguments you need to apply the
|
Hi everybody
Great package, simplify a lot of work.
Is there a way to add a highchart plugin : the draggable-points.js to higcharter ? Would be great if it's easy.
Thks for help
Fabien
The text was updated successfully, but these errors were encountered: