jQuery UI Widgets Forums Chart jqxChart Bar Series

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • jqxChart Bar Series #52214

    Huseyn
    Participant

    Please, help me to build jqxChart Bar Series with below json file

    var url = “ResponseChart”;
    // prepare the data
    var source =
    {
    datatype: “json”,
    datafields: [

    { name: ‘fouls_type’, type: ‘string’ },
    { name: ‘fouls_count’, type: ‘int’ }
    ],
    url: url
    };

    jqxChart Bar Series #52217

    Dimitar
    Participant

    Hello Huseyn,

    Please refer to the demo Negative Values to see how to build a chart from a JSON data source.

    Best Regards,
    Dimitar

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

    jqxChart Bar Series #52218

    Huseyn
    Participant

    Thanks

    • This reply was modified 10 years, 2 months ago by  Huseyn.
    jqxChart Bar Series #52221

    Huseyn
    Participant

    Please, help with bar series

    jqxChart Bar Series #52239

    Dimitar
    Participant

    Hi Huseyn,

    Bar series are essentially column series with orientation set to “horizontal”. For the aforementioned example:

    seriesGroups:
        [
            {
                type: 'column',
                orientation: 'horizontal',
                //useGradient: false,
                valueAxis:
                {
                    unitInterval: 5,
                    displayValueAxis: true,
                    description: 'Temperature [C]',
                    //descriptionClass: 'css-class-name',
                    axisSize: 'auto',
                    tickMarksColor: '#888888'
                },
                series: [
                        { dataField: 'max', displayText: 'Max Temperature' },
                        { dataField: 'min', displayText: 'Min Temperature' }
                    ]
            }
        ]

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.