Welcome Guest Search | Active Topics |

Candlestick Chart with Line Chart not show crosshair
handelcamilo
#1 Posted : Thursday, April 19, 2012 8:01:10 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/19/2012(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hi,
I have a Candlestick Chart combinated with a line series but my crosshair is not showed. It seems a bug to me!
I want to use jqChart to provide a financial app with advanced features like multiple charts and series.

Thank you!

ps: Sorry about my english!
Dragan
#2 Posted : Thursday, April 19, 2012 8:23:14 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,

Thank you for the letting us know. We’ll investigate it.

Is it possible to send us your sample ( support@jqchart.com )? This will help us finding the issue.
Best Regards,
Dragan Matek
jqChart Inc.
handelcamilo
#3 Posted : Thursday, April 19, 2012 9:00:13 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/19/2012(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Sure! I'll send the example with the same topic's name!


Thank you for the quick reply!
Dragan
#4 Posted : Thursday, April 19, 2012 9:34:46 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,

Thank you for the sample.

When the tooltips are "shared' in the 'data' parameter of the 'dataHighlighting' event are all data items, which are highlighted. When they are more than one it is an array.

We're working on the documentation right now.

In your sample just get the first element if the 'data' is array:

Code:
            $('#jqChart').bind('dataHighlighting', function (event, data) {

                if (!data) {
                    $('#jqChartVolume').jqChart('highlightData', null);
                    return;
                }

                if ($.isArray(data)) {
                    data = data[0];
                }
                ...


Best Regards,
Dragan Matek
jqChart Inc.
handelcamilo
#5 Posted : Thursday, April 19, 2012 9:45:49 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 4/19/2012(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Thank you so much! That worked very well!
Users browsing this topic
Guest (2)
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.085 seconds.