jQuery UI Widgets Forums Chart chart lines bound

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • chart lines bound #87778

    ae50042
    Participant

    Hi,
    I would like to create a simple line chart, with just one series, so my chart will show me just a line, basically I would like to add two more lines that show me also the upper bound line and the low bound line that are two horizontal lines.

    P.S. These two horizontal lines are different from the max and min value that I set on the valueAxis!

    Can anyone help me?

    chart lines bound #87785

    Hristo
    Participant

    Hello ae50042,

    You could set bands member to a concrete “seriesGroups”.

    
    bands:
    [
        { minValue: 220, maxValue: 221, lineWidth: 1, opacity: 0.5, color: 'red' },
    	{ minValue: 280, maxValue: 281, lineWidth: 1, opacity: 0.3, color: 'red' }
    ]
    

    Please, take a look at this demo:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/javascript_chart_annotations.htm?light

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    chart lines bound #87792

    ae50042
    Participant

    Hi Hristo,
    Thanks, that’s exactly what I’m looking for!!

    Best Regards,
    Giorgio.

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

You must be logged in to reply to this topic.