Welcome Guest Search | Active Topics |

jqChart for jquery
javedmoh2001
#1 Posted : Wednesday, November 12, 2014 8:24:02 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/12/2014(UTC)
Posts: 1

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
can i update candlestick chart wid column chart values?? if yes can you please assist me with that..
my data is [['A', 46], ['B', 35], ['C', 68], ['D', 30], ['E', 27], ['F', 85], ['D', 43], ['H', 29]] i need to display these data in candlestick format...

regards
Javed
Dragan
#2 Posted : Monday, November 17, 2014 12:59:10 PM(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,

the data needs to in this format: [[xValue, high, low, open, close], ...]

Here is a sample code:
Code:
$('#jqChart').jqChart({
                series: [
                    {
                        type: 'stock',
                        data: [["A", 13.03, 12.32, 12.36, 13.01], ["B", 12.55, 11.19, 11.96, 12.03], ["C", 12.35, 11.47, 12.2, 12.19]]
                    }
                ]
            });
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest
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.051 seconds.