jQWidgets Forums
Forum Replies Created
Viewing 7 posts - 1 through 7 (of 7 total)
-
Author
-
April 23, 2015 at 11:52 am in reply to: Bootstrap 3 Support for DateTimeInput Bootstrap 3 Support for DateTimeInput #70192
Hi, this Question is cleared! I had an issue with the different css files and no declararion of the theme:”bootstrap”.
April 23, 2015 at 11:37 am in reply to: Bootstrap 3 Support for DateTimeInput Bootstrap 3 Support for DateTimeInput #70184March 11, 2015 at 12:38 pm in reply to: Chart Update, but without update the ToolTip Chart Update, but without update the ToolTip #68351How can i change this?
at a chart update I use a new data adapter !?March 10, 2015 at 2:24 pm in reply to: Update Chart and Ajax request after DropDown selection Update Chart and Ajax request after DropDown selection #68282Ok, it works! 🙂 I’m a total beginner……
Here is my Code (End of the chart script):
$('#Durchlaufzeit').jqxChart(settings); //******* Get Charts Instance var chart = $('#Durchlaufzeit').jqxChart('getInstance'); //******* Datumswahl für gefilterte Chart-Ansicht $("#DateSelect").jqxDateTimeInput({ width: 250, height: 25, selectionMode: 'range' , culture: 'de-DE'}); $("#DateSelect").on('change', function (event) { var selection = $("#DateSelect").jqxDateTimeInput('getRange'); if (selection.from != null) { var DateFrom = selection.from.toString('yyyy-MM-dd'); var DateTo = selection.to.toString('yyyy-MM-dd'); } var dataAdapter = new $.jqx.dataAdapter(source, { formatData: function (data) { data.DateFrom = DateFrom; data.DateTo = DateTo; return data; }, autoBind: true, async: false, downloadComplete: function () { }, loadComplete: function () { }, loadError: function () { } }); chart.dataAdapter = dataAdapter; chart.update(); });
March 10, 2015 at 12:57 pm in reply to: Update Chart and Ajax request after DropDown selection Update Chart and Ajax request after DropDown selection #68270Hi,
can you give me an example of this? Thanks! 🙂$('#Durchlaufzeit').jqxChart(settings); //******* Get Charts Instance var chart = $('#Durchlaufzeit').jqxChart('getInstance'); //******* Datumswahl für gefilterte Chart-Ansicht $("#DateSelect").jqxDateTimeInput({ width: 250, height: 25, selectionMode: 'range' , culture: 'de-DE'}); $("#DateSelect").on('change', function (event) { var selection = $("#DateSelect").jqxDateTimeInput('getRange'); if (selection.from != null) { var DateFrom = selection.from.toString('yyyy-MM-dd'); var DateTo = selection.to.toString('yyyy-MM-dd'); } var dataSource = { datatype: "json", datafields: [ { name: 'Durchlaufzeit', }, { name: 'Ort'} ], data: {'DateFrom' : DateFrom, 'DateTo' : DateTo}, url: 'script/charts.php?select=3' }; chart.source = dataSource; chart.update(); });
February 26, 2015 at 9:43 am in reply to: How could I POST a variable with ajax? How could I POST a variable with ajax? #67730Great, so easy…. 🙂 Thank you!
Hi, thank you for your fast answer!
Could you help me, how i can check the data it it’s changed or not? -
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)