Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
655
How to show a 'gap' in a line chart?
posted

Hi,

Is it possible to show a 'gap' in a line chart if the point has no value (chart 1 in the attached pic)? or connect the two points(point 2 and 4) directly (chart 2)?

Data:

 

1 300
2 100
3 (no value)
4 500
5 400
6 590

 

Best regards,

Zach

 

 

Parents
  • 17559
    Verified Answer
    posted

    Hello Zach,

     

    You can use UnknownValuePltting property of the Line series and set it to LinearInterpolate like this:

     

      .Series(s =>

            {

                s.Line("ActiveCustomers").UnknownValuePlotting(UnknownValuePlotting.LinearInterpolate)

                    .XAxis("Label")

                    .YAxis("Count")

                    .ValueMemberPath(cc => cc.CustomerCount);

            })

    this property is described here:

    http://help.infragistics.com/jQuery/2012.2/ui.igdatachart

     

    just go to the tab “Options” then expand “series”.

     

    Please let me know if this helps.

Reply Children
No Data