Welcome Guest Search | Active Topics |

series value
rdt
#1 Posted : Wednesday, July 3, 2013 5:55:10 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
is it possible to get the series value in places without data points?
Ivan
#2 Posted : Thursday, July 4, 2013 12:36:07 PM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
Currently jqChart doesn't support this functionality, but we'll try preparing you a sample that you can use.
Best,
Ivan Petrov
jqChart Inc.
Ivan
#3 Posted : Sunday, July 14, 2013 5:43:37 AM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
You can try using this code:

Code:
$('#jqChart').mousemove(function (e) {

                var chart = $('#jqChart').jqChart('chart');

                if (!chart.gridArea.isMouseOver) {
                    return;
                }

                var series = chart.series.items[0];

                var x = chart.mouseInput.locX;
                var y = chart.mouseInput.locY;

                var xVal = series.realXAxis.getValue(x);
                var yVal = series.realYAxis.getValue(y);
            });
Best,
Ivan Petrov
jqChart Inc.
rdt
#4 Posted : Tuesday, July 16, 2013 6:58:04 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
that is helps but not realy what i want

your code gives me the x,y value in the chart and not only on the series
since all my charts are step i can handle it but still i have issues with the crosshairs
because im using it for the tooltip
Ivan
#5 Posted : Thursday, July 18, 2013 12:37:13 PM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
I'm not really sure I'm understanding you correctly. Is it possible to provide me more info? What do you want to use for the tooltips?
Best,
Ivan Petrov
jqChart Inc.
rdt
#6 Posted : Thursday, July 18, 2013 1:09:09 PM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
i want tooltip for every point in the series
i also need crosshairs on every point on the chart
an that is the problem with the code you sent me
the crosshairs always mark the closest data point and not the point on the series that the mouse points
Ivan
#7 Posted : Thursday, July 18, 2013 1:16:05 PM(UTC)
Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 11/5/2012(UTC)
Posts: 131

Thanks: 0 times
Was thanked: 15 time(s) in 15 post(s)
Quote:
the crosshairs always mark the closest data point and not the point on the series that the mouse points


I believe this is the thing I can't get. Can you send me a screenshot?
Best,
Ivan Petrov
jqChart Inc.
rdt
#8 Posted : Sunday, July 28, 2013 2:59:36 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
http://s1362.photobucket...ed_zps906685d2.png.html

its select the closest data point like you said
but i need is to select the actual function value
also for the tooltip highlight
(x = mouse.x,y = series value)

in this case:

27/7/2013 15:09:58
Power(w): 0

should be highlight and mark by cross hair
Dragan
#9 Posted : Sunday, July 28, 2013 3:27:19 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)
You can disable the snapping crosshairs to the data points with:

Code:
.Crosshairs(el => el.Enabled(true)
                            .SnapToDataPoints(false)
)


http://www.jqchart.com/documentationAspNetMVC/userguide/Default.aspx#!Crosshairs
Best Regards,
Dragan Matek
jqChart Inc.
rdt
#10 Posted : Sunday, July 28, 2013 3:42:23 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
thats true but still the tooltip highlight marks the data point and not the mouse location
Dragan
#11 Posted : Sunday, July 28, 2013 3:52:13 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)
Currently, the tooltips are displayed for specific data point(s).

You can probably display the current mouse values somewhere outside the chart.
Best Regards,
Dragan Matek
jqChart Inc.
rdt
#12 Posted : Sunday, July 28, 2013 6:07:11 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
is this option in you roadmap?
Dragan
#13 Posted : Sunday, July 28, 2013 6:16:55 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)
Not currently, but we'll add it to the roadmap.
Best Regards,
Dragan Matek
jqChart Inc.
rdt
#14 Posted : Tuesday, November 5, 2013 2:57:04 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2013(UTC)
Posts: 16

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
is it in the new version (3.8.2.0) ?
Dragan
#15 Posted : Tuesday, November 5, 2013 6:21:40 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)
We're sill not ready with this feature.
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.175 seconds.