whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest Search | Active Topics | Log In | Register

Cannot draw straight vertical series in line chart Options · View
n_j
#1 Posted : Friday, December 25, 2009 8:07:53 PM
Rank: Member

Groups: Registered

Joined: 11/19/2009
Posts: 20
Location: Mumbai
Hi,

I am using the following code to draw a straight vertical series,

phasePoints.addDate(date, 0.0);
phasePoints.addDate(date, max); //date is same for both points


The problem is that only the 1st point is displayed instead of a line. Please help.

Also, I want to know if this is the correct way to draw a vertical line from y=0 to infinity in a graph.
pturchenko
#2 Posted : Friday, December 25, 2009 8:41:15 PM
Rank: Guest

Groups:

Joined: 7/9/2009
Posts: 3,383
Hi. At this moment you can try to add second point with X value very close to the previous one. This way you'll have a vertical line.

Try something as following:

series1Points.addXY(5, 5);
series1Points.addXY(10, 10);
series1Points.addXY(10.005, 30);
series1Points.addXY(20, 40);

This code will draw vertical line from Y=10 to Y=30. Tweaking series datasource like this will help you achieve "infinity" graphs.
n_j
#3 Posted : Saturday, December 26, 2009 1:40:26 PM
Rank: Member

Groups: Registered

Joined: 11/19/2009
Posts: 20
Location: Mumbai
This works but please fix this problem as soon as possible.


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.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2016 ArtfulBits. All rights reserved.