jQuery UI Widgets › Forums › Chart › Saving user selection
Tagged: chart, javascript chart, jquery chart, jqwidgets chart
This topic contains 3 replies, has 2 voices, and was last updated by Hristo 7 years, 6 months ago.
-
AuthorSaving user selection Posts
-
My application will have multiple series in the same polar plot. For example, we have 3 polar lines. The user hides a series by clicking on the legend. I see that the plot gets refreshed as user goes to some other page and comes back. Now those user settings about hideseries is being lost and I’m seeing all the three lines back again.
Is there a way to know what are the series numbers that the user hid someway? I see from jqwidgets doc that there are options to save certain info to cookie. But this will be valid just for that session. In our product, typically customer may create a model and pass it across to teams. When they open these models, these settings may be lost. One way I’m thinking is to store this hideseries info on our object data itself regarding which series are hidden. Does jqwidgets have anyway to remember this info even when things get passed around on different machine? If not, if there is a way to know which series numbers are hidden by user clicks, I can store that numbers as an array on my products objects. Let me know your thoughts on this.Thanks.
Hi,
I want the starting points at 170 deg and ending point 360 deg not to be joined by the line in this example https://www.jseditor.io/?key=polar-plot-closed-loop-1
In the partial polar plot example in demo (http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/index.htm#demos/jqxchart/javascript_chart_partial_polar.htm), the background polar itself is missing a 90 degree part. I’d want to still see the full circle from 0 to 360 for my case. Only the the line in the chart shouldn’t be a closed loop. How do I achieve that? I tried playing with starting and ending angles but I end up getting weird plot. Also my start angle has to be 90 in seriesgroups as my angles need to increase from 0 to 360 in the anticlockwise direction.
Regards,
Jeswanth.Please ignore my second post. That was a duplicate that got posted accidentally. I’m interested in my first query.
Hello Jeswanth,
Unfortunately, there is no such option.
I would suggest you look at this forum topic, it could be useful:
http://www.jqwidgets.com/community/topic/saving-chart-state/
Also, as a workaround, you could draw the ‘legend’ outside of the Chart.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.