jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 45 total)
  • Author
    Posts

  • ziggy
    Participant

    Hi Vladimir,

    Thanks for the reply. However, I wanted to maintain the multiselect feature. Is this possible in cascading comboboxes?

    Thanks.

    in reply to: Clear chart Clear chart #75109

    ziggy
    Participant

    Hi Ivailo,

    When I set the source to an empty array, I get the following error:

    Error: Invalid value for <rect> attribute y="NaN"

    Is there a cleaner way to clear the charts? An example would be a great help.

    Thanks!

    in reply to: Clear chart Clear chart #75104

    ziggy
    Participant

    Hi Ivailo,

    What do you mean 0 for all values?

    Like this?

    $('#jqxGraphViewProcessAlign').jqxChart({
                        source: 0,
                        xAxis:
                        {
                            type: 0,
                            baseUnit: 0,
                            dataField: 0,
                            valuesOnTicks: 0,
                            unitInterval: 0,
                            tickMarks: 0,
                            axisSize:0,
                            minValue: 0,
                            maxValue: 0,
                            labels:
                            {
                                angle: 30,
                                horizontalAlignment: 'left',
                                verticalAlignment: 'center',
                                rotationPoint: 'left',
                                offset: { y: -30 },
                                formatFunction: function(value)
                                {
                                    return  $.jqx.dataFormat.formatDate(value, 'dd-MMM-yyyy HH:ss');
                                }
                            }
                        }
                    });  
    in reply to: initTabContent initTabContent #74912

    ziggy
    Participant

    thanks!

    in reply to: data source formatting data source formatting #74501

    ziggy
    Participant

    this is great! 🙂 thanks for the prompt response Dimitar!

    in reply to: data source formatting data source formatting #74496

    ziggy
    Participant

    Thanks Dimitar…but how about if we add dynamic series groups where we cannot hardcode datafield names?

    how can we achieve this?

    var sampleData = [
                        { Day: 1, KAREN: 22, EMMA: 24, ARTHUR: 22, ROB: 33, ...etc },
                        { Day: 2, KAREN: 24, EMMA: 18, ARTHUR: 25...etc },
                        { Day: 3, KAREN: 45, EMMA: 25, ARTHUR: 46, DAVE: 45, JON: 40, ...., etc }
                    ];

    ziggy
    Participant

    Hi Dimitar,

    I’am not sure if this is the same issue as with the thread starter but I have a problem with updatbounddata for my grid in a tab. I have 2 tabs with grids in it. I have a filtering facility that gets a new set of data which will be bound to those grids. However, I noticed that I need to click on the tabs (especially for the 2nd tab) for the updatebounddata to work.

    My question is how do we update the source even without clicking the tab?

    Hope you get my point.

    Thanks!

    in reply to: xAxis type DateTime xAxis type DateTime #73948

    ziggy
    Participant

    Got it! 😀 thanks Dimitar.

    in reply to: xAxis type DateTime xAxis type DateTime #73790

    ziggy
    Participant

    Hi Dimitar,

    Thanks for the reply.

    I have tried setting the baseUnit to hour but the x-axis is too crowded. Can we plot the dots (scatter plot) with baseUnit: ‘hours’ but the x-Axis display is by Date? In this way, the dots would be scattered and not plotted in a single line only.

    Thanks!


    ziggy
    Participant

    Any suggestions on how to structure the data to fit to your regular scatter chart?


    ziggy
    Participant

    Hi Ivailo,

    Can we plot these data type of source structure in a scatter plot?

    var sampleData2 = [
                     
                        { Date: 'July 8',  "AVG_CV": [34, 100, -170], "AVG_MV": [66, 44, -230], "AVG_YV": [199, 0,-2,-20] },
                        { Date: 'July 9',  "AVG_CV": [34, 100, -170], "AVG_MV": [66, 44, -230], "AVG_YV": [199, 0,-2,-20] },
                        { Date: 'July 10',  "AVG_CV": [34, 100, -170], "AVG_MV": [66, 44, -230], "AVG_YV": [199, 0,-2,-20] }
                    ];

    ziggy
    Participant

    Hi ivailo,

    Yes I got that chart, however, I wanted to group the x-axis by Date. Is it possible?


    ziggy
    Participant

    …or can we plot a source like this:

    var sampleData2 = [
                     
                        { Date: 'July 8',  "AVG_CV": [34, 100, -170], "AVG_MV": [66, 44, -230], "AVG_YV": [199, 0,-2,-20] },
                        { Date: 'July 9',  "AVG_CV": [34, 100, -170], "AVG_MV": [66, 44, -230], "AVG_YV": [199, 0,-2,-20] },
                        { Date: 'July 10',  "AVG_CV": [34, 100, -170], "AVG_MV": [66, 44, -230], "AVG_YV": [199, 0,-2,-20] }
                    ];
    in reply to: Chart in tabs not showing Chart in tabs not showing #73652

    ziggy
    Participant

    Thanks Ivaillo. I missed that part.

    in reply to: Chart in tabs not showing Chart in tabs not showing #73645

    ziggy
    Participant

    you can check the code here in sample code

    I get the chart loaded, but not in tabs though…

    The grid loaded correctly but not the chart in tabs.

Viewing 15 posts - 16 through 30 (of 45 total)