Welcome Guest Search | Active Topics |

How to make zoom disable but rangeslider should visible
admin@4rgoc
#1 Posted : Wednesday, September 10, 2014 7:16:38 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/10/2014(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
zoomEnabled: false,
rangeSlider: {
visible: true,
breadth: 14
}

Output is:
Rangeslider is disabled .

Above code is not giving me expected result because rangeslider is true but not visible.Any idea how to get my expected result?
Dragan
#2 Posted : Thursday, September 11, 2014 8:22:08 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

Currently jqChart doesn't support disabled rangeSlider, but you can disable it with:

Code:
$('#jqChart > .ui-jqrangeslider > *').unbind();
$('#jqChart > .ui-jqrangeslider > *').css('cursor', 'auto');
Best Regards,
Dragan Matek
jqChart Inc.
nelsonbn
#3 Posted : Monday, February 23, 2015 10:57:02 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/4/2014(UTC)
Posts: 6

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
It is not possible to have access to property "rangeSlider" in razor?
can set in javascript but not razor


Code:

$(document).ready(function () {
                $('#jqChart').jqChart({
                    title: { text: 'Change Series' },
                    border: { strokeStyle: '#6ba851' },
                    legend: { visible: false },
                    tooltips: { type: 'shared' },
                    axes: [
                            {
                                type: 'linear',
                                location: 'bottom',
                                extendRangeToOrigin: true,
                                zoomEnabled: true,
                                rangeSlider: {
                                    visible: false,
                                    breadth: 0
                                }
                            },
                            {
                                type: 'linear',
                                location: 'left',
                                extendRangeToOrigin: true,
                            }
                          ],
                    series: [
                                {
                                    type: 'line',
                                    data: getRandomData()
                                }
                            ]
                });
            });
Dragan
#4 Posted : Wednesday, February 25, 2015 5:25:58 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Hi,

Currently you can access the rangeSlider only with JavaScript. It seems we should expose these properties for Razor as well.
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.096 seconds.