PDA

View Full Version : charts - dashed lines



tfishwick
22 Feb 2010, 10:40 AM
Anyone know how to make a dashed line series?

This is from the yui docs.. seems close, but doesn't do it:

connectDiscontinuousPoints: When true, a dashed line is drawn between points appearing before and after bad data (generally null or NaN values). Available only on a series of type "line".

discontinuousDashLength: A numeric value that represents the length of dashes on a discontinous line, in pixels. Available only on a series of type "line".

Thanks,
-Tom

25 Feb 2010, 12:41 PM
Tom,

I'm assuming you got it from: http://developer.yahoo.com/yui/charts/

This should work once 3.2 rolls out.

tetchen9
3 Nov 2011, 4:40 PM
Tried it, did not work.

wielebny666
1 Dec 2011, 1:16 AM
For me option "connectDiscontinuousPoints" also not works. It treats null values as "zero" value. Any clues how to workaround this?

designated
23 Jun 2012, 3:42 AM
Exactly the same issue, has anyone ever got this working?

designated
23 Jun 2012, 5:49 AM
It looks as though the framework changes the null somewhere at the SQL stage. If you set the value as null in the query, ie if NULL then display NULL, the feature should kick into shape.