how to set <p:chartSeries value to NULL

UI Components for JSF
Post Reply
inetwork
Posts: 25
Joined: 30 Apr 2010, 21:18

07 Jun 2010, 15:27

Hi,

I am working on a line chart component where some of the series values are zeros and I need to make them NULL in order to be able to use YUI's "connectDiscontinuousPoints". Can anyone tell me how to do that?

Thanks in advance.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Jun 2010, 14:53

Please take a look at;

http://code.google.com/p/primefaces/iss ... ail?id=890

Do you have a link for YUI's connectDiscontinuousPoints? How do you want to to make chart look like? A screenshot can help.

inetwork
Posts: 25
Joined: 30 Apr 2010, 21:18

23 Jun 2010, 21:41

Sorry for the late reply. I haven't been getting email notifications on replies to my posts. I did get that to work using one of the solutions in the forum where I had to make a little change to the lineChartRender to accept null values. Few sources to get that to work:

http://yuilibrary.com/forum/viewtopic.php?p=2495

http://developer.yahoo.com/yui/charts/
--------------------------------------------------
Series Styles

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".

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Jun 2010, 20:49

I've updated the issue ticket with the information you've provided thanks.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 67 guests