jQWidgets Forums
Forum Replies Created
-
Author
-
August 11, 2016 at 11:13 am in reply to: Adding dynamically jqxWidgets content to Tabs Adding dynamically jqxWidgets content to Tabs #86490
Sorry I didn’t pay attention to it. It’s now shared with everyone.
Thank’s!
August 11, 2016 at 7:26 am in reply to: Adding dynamically jqxWidgets content to Tabs Adding dynamically jqxWidgets content to Tabs #86478Can anybody help me please? I still haven’t figured it out
Hello team,
I’m facing a little problem about the total of three slider’s values equals 1.
Here you can see the code: https://www.jseditor.io/?key=pie-chart-sliders-same-row-problem-1-2This code faces a bug somehow. I think it’s when I’m setting the value, it’s telling that there is a change in the slider so it’s entering in the other slides change method etc etc…
Is calling setValue is actually considered as changing the value?
How can I handle that in another way?Cheers,
SarahJuly 29, 2016 at 11:40 am in reply to: Displaying pieChart and sliders in the same row Displaying pieChart and sliders in the same row #86186Thank’s Ivo!
Sarah
July 29, 2016 at 10:12 am in reply to: Displaying pieChart and sliders in the same row Displaying pieChart and sliders in the same row #86183Thank you so muck Ivo! The inline-block does work!
Concerning the update, I have added this to the script: (You can see it in https://www.jseditor.io/?key=pie-chart-sliders-same-row-problem-1-2)
$(‘#jqxSlider1’).on(‘change’, function (event) {
var value = $(‘#jqxSlider1’).jqxSlider(‘getValue’);
console.log(“value: ” + value);// update the chart series
$(‘#pieChart’).jqxChart(‘update’);
});The value does change but in the piechart we don’t see it. It actually refreshes but we don’t see the change. Am I doing it wrong?
July 29, 2016 at 7:42 am in reply to: Displaying pieChart and sliders in the same row Displaying pieChart and sliders in the same row #86166Thank you Peter
So, here is the link: https://www.jseditor.io/?key=pie-chart-sliders-same-row-problem-1-2
I don’t understand why the pieChart has returned to the second line… How can I put it in the same line (row) with the three sliders?
I have also tried to refresh the pie chart whenever one of the three sliders changes its value… and I have done it with a
$(document).change(function()
{
// Here the javascript of pieChart
});
But I think it’s not a good idea since everytime I have a change in another jqwidget which is completely independent from the piechart, the piechart will refresh… Do you have another idea? (Sorry I’m a beginner)Thank you so much for your help!!
Sarah
July 28, 2016 at 2:17 pm in reply to: Displaying pieChart and sliders in the same row Displaying pieChart and sliders in the same row #86137To be honest, I have never used JS Editor. I tried though, but they are telling me that jsxSlider is not a function (I have added libraries also…)
Here is the link: https://www.jseditor.io/?key=pie-chart-sliders-same-row-problem-1-2
Thank’s Peter! I will try it.
Cheers,
SarahHello team,
I was wondering if it was possible to have multiple sliders (3 for example) which are depending on each other’s values. Like their total sum should always equal 1. Thus, changing the value of one of them involve changing automatically one or both values of the others so as to always keep the total sum = 1.
If you have any idea of how I can do this, please let me know. Much appreciated it.Thank you,
Sarah -
AuthorPosts