jQWidgets Forums

jQuery UI Widgets Forums Chart scatter plot

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  admin 3 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    scatter plot Posts
  • scatter plot #121348

    vspinelli
    Participant

    Hi,
    is there the possibility to gpaph a serie of couple of variables (X,Y) where, for some casese the X assumes the same value? i.e.:
    (X,Y)
    1,3
    2,7
    2,9
    3,8
    3,9
    5,10
    6,11
    6,22
    6,33
    6,44

    Thanks
    VSpinelli

    scatter plot #121370

    admin
    Keymaster

    Hi VSpinelli,

    If you put your data in that format it should be fine:

    var data = [
    	{Label: 'a', Value1: '1', Value2: '3'},
    	{Label: 'b', Value1: '2', Value2: '7'},
    	{Label: 'c', Value1: '2', Value2: '9'},
    	{Label: 'd', Value1: '3', Value2: '8'},
    	{Label: 'e', Value1: '3', Value2: '9'},
    	{Label: 'f', Value1: '5', Value2: '10'}];

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

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

You must be logged in to reply to this topic.