Welcome Guest Search | Active Topics |

How to fix x-axis for Line Chart
abdulazeez.zubair
#1 Posted : Thursday, October 10, 2013 5:30:14 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/10/2013(UTC)
Posts: 3

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
Hi,
I need to fix x axis so that data is not cluttered.
I have line graph which plots data for every hour in given day (0 - 23hr) and also need to updated graph with live data for current hour every minute, Problem is say if current hour is 3 and we get data for next minute as 3.01 in graph it shows that 3.01, instead if it plots that between 3 and 4th hour point graph would look good.
Basically I need to fix x-axis between 0 - 23 and all intermediate points should fit in between these points.
Any help would be greatly appreciated ...
Dragan
#2 Posted : Thursday, October 10, 2013 5:41: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)
You can set minimum, maximum, interval and intervalType of the x-axis manually:
http://www.jqchart.com/jquery/chart/ChartAxes/DateTimeAxis
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked Dragan for this useful post.
abdulazeez.zubair on 10/10/2013(UTC)
abdulazeez.zubair
#3 Posted : Thursday, October 10, 2013 7:28:24 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/10/2013(UTC)
Posts: 3

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
dragan wrote:
You can set minimum, maximum, interval and intervalType of the x-axis manually:
http://www.jqchart.com/jquery/chart/ChartAxes/DateTimeAxis


Thanks for the update, It did not solve my issue.
Needed one help, Can I plot using dateTime axis and display only hour information, Also can I get min and max as today's date 00:00 to 23:00 so that I see only hours plotted on x-axis and minutes data is updated in between two hour points.

Regards,
Abdul Azeez
abdulazeez.zubair
#4 Posted : Thursday, October 10, 2013 8:52:24 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/10/2013(UTC)
Posts: 3

Thanks: 1 times
Was thanked: 0 time(s) in 0 post(s)
abdulazeez.zubair wrote:
dragan wrote:
You can set minimum, maximum, interval and intervalType of the x-axis manually:
http://www.jqchart.com/jquery/chart/ChartAxes/DateTimeAxis


Thanks for the update, It did not solve my issue.
Needed one help, Can I plot using dateTime axis and display only hour information, Also can I get min and max as today's date 00:00 to 23:00 so that I see only hours plotted on x-axis and minutes data is updated in between two hour points.

Regards,
Abdul Azeez


Hurray, I was able achieve it using dateTime with hours as range ...
Dragan
#5 Posted : Friday, October 11, 2013 3:57: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)
Ok, great.
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.106 seconds.