jQWidgets Forums

jQuery UI Widgets Forums Chart Multiple Series with null-value

Tagged: , , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 12 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Multiple Series with null-value #11373

    marchip
    Member

    Hi

    When i use more than one series in a chart it’s possible that a one series for a particular x-value doesen’t have a value. How can i specify a null value ?

    Example

    Day       AValue               BValue

    23/11/12       50                         80

    22/11/12       37                  (no-value)

    Thanks

     

    Multiple Series with null-value #11446

    Dimitar
    Participant

    Hello marchip,

    If you set the value to null, it will have no graphical representation, e.g.:

                var sampleData = [
    { Day: 'Monday', Keith: 30, Erica: 15, George: 25 },
    { Day: 'Tuesday', Keith: 25, Erica: null, George: 30 },
    { Day: 'Wednesday', Keith: 30, Erica: 20, George: 25 },
    { Day: 'Thursday', Keith: 35, Erica: 25, George: 45 },
    { Day: 'Friday', Keith: 20, Erica: 20, George: 25 },
    { Day: 'Saturday', Keith: 30, Erica: 20, George: 30 },
    { Day: 'Sunday', Keith: 60, Erica: 45, George: 90 }
    ];

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.