jQuery UI Widgets Forums Chart Negative bar chart

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 10 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Negative bar chart #32537

    amit8_88
    Member

    We are trying to display a negative bar chart. But we see that the negative values fall on the right and positive values on the left. Is there any way we can achieve it with jqwidgets chart ?
    A snapshot of the negative chart is here: http://imagebin.org/276826

    Negative bar chart #32554

    Dimitar
    Participant

    Hello amit8_88,

    Could you, please, state what your requirement actually is? You can also check the other Negative Values demo.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Negative bar chart #32584

    amit8_88
    Member

    Hey Dimitar,
    Thanks for your response. Actually I have created a horizontal chart with negative score like this http://imagebin.org/276879
    But I need the bar with negative score to be on the left hand side and the bar with positive score on the right hand side.
    The chart which I have got in the image above is exactly the opposite. Any help will be much appreciated. My client already has the license purchased and I hope we can do this with jqwidgets.


    Regards
    Amit

    Negative bar chart #32618

    Dimitar
    Participant

    Hi Amit,

    Yes, you can achieve this by flipping the valueAxis by setting the flip property to true, i.e.:

    valueAxis:
    {
    displayValueAxis: true,
    description: '',
    unitInterval: 1,
    minValue: -5,
    maxValue: 10,
    formatSettings: { sufix: '%' },
    flip: true
    },

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.