jQWidgets Forums

jQuery UI Widgets Forums Chart Closed loop in polar plot

This topic contains 6 replies, has 2 voices, and was last updated by  jmentey 8 years ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Closed loop in polar plot #93186

    jmentey
    Participant

    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.

    Closed loop in polar plot #93195

    Hristo
    Participant

    Hello Jeswanth,

    Unfortunately, there is no such option.
    I would like to suggest using one more point with null values.
    Please, take a look at this workaround: https://www.jseditor.io/?key=chart-polar-with-null-values

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Closed loop in polar plot #93204

    jmentey
    Participant

    Hi Hristo,

    Thanks for your response. So we always have a closed loop huh? Just to be sure we are on the same page. My data is already like what you’ve achieved by having null values in this workaround this workaround: https://www.jseditor.io/?key=chart-polar-with-null-values

    The thing I’m looking for is not to have the line between the Prague and London.

    Using the same logic, we shouldn’t see the line between 170 deg and 0 deg in this example https://www.jseditor.io/?key=polar-plot-closed-loop-1

    It’d be really a road block for what if we can’t have open looped polar charts as people working in acoustics expect the results to see that way.

    Regards,
    Jeswanth.

    Closed loop in polar plot #93211

    Hristo
    Participant

    Hello Jeswanth,

    Unfortunately, there is no another option.
    I would suggest you try with another “type” – ex.: type: 'column'.
    Also, you could represent the whole circle from 0 to 360 degree as a segment of the whole circle.
    Thank you for the understanding.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Closed loop in polar plot #93223

    jmentey
    Participant

    Thanks Hristo for clarification. Unfortunately, people prefer to see the line rather than column. I already provide that option to the user as dropdown where they select the type.

    May be my only request is for jqwidgets to provide an option to not join the endpoints as an option. May be it can default to closed loop and do what its doing now. Just a development request. I’d be unfortunate if our management decides to not use jqwidgets for our polarplot and go for something else just because of this minor cosmetic issue. But, this can be a concern as the users may not be interested in entire 360 degree range as it takes more computation time for our program to generate values at all angles vs only few angles.

    Regards,
    Jeswanth.

    Closed loop in polar plot #93239

    Hristo
    Participant

    Hello Jeswanth,

    I will create a new feature request.
    Thank you for the interest.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Closed loop in polar plot #93254

    jmentey
    Participant

    Thanks Hristo. I greatly appreciate it. Polar plots are a very powerful plots to visualize data for acoustic problems. Just like how we can generate line plots using jqWidgets with just a couple of commands, it would be nice if we can generate a polar plot like this easily.

    https://www.princeton.edu/3D3A/Directivity/Ascend%20Acoustics%20CBM-170%20SE/images/Plots/Vertical/Ascend%20Acoustics%20CBM-170%20SE%20V%20Polar%20Plot.png

    Now to achieve similar plot, I have to do a lot of stuff like not to show values at 360 degrees, flipping the axis, specifying start angle, end angle etc. May be if we have a baseUnit”: ‘angle’, may be angleUnit: ‘degrees/radians’, jqwidgets can show polar plots like this based on whether the user provides the data automatically in degrees or radians respectively. That way, people working in scientific computing can use polar plots readily.

    I like the quality of other plots generated by jqWidgets otherwise. Thanks for your efforts in helping me out.

    Regards,
    Jeswanth.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.