logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ben  
#1 Posted : Tuesday, September 26, 2017 5:42:22 AM(UTC)
ben

Rank: Newbie

Groups: Registered
Joined: 9/26/2017(UTC)
Posts: 1
Germany

Hello all,

I'm currently trying to display monthly data for 2015/2016/2017 in a NVD3 line chart,
the three years being the lines and the months on the x-axis.
As 2017 only has data until August, the months 9 - 12 are still null values in the table.

Unfortunately, the 2017 line drops to 0 in the NVD3 chart instead of ending at month 8.
This behaviour does not show up in Microsoft charts, but I would prefer the NVD3 charts as they look such much better.

Does anyone know how to eliminate the "virtual" 0 values (maybe by CSS or JavaScript)?

Thank you very much in advance!

Regards,
Ben
epf  
#2 Posted : Monday, October 2, 2017 12:31:32 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Hi, I checked this point and we will add a NVD3 View Parameter to remove the point with NULL Values from the Series.
Some tests show that Stacked Bar or Stacked Area need to have series having the same number of points, otherwise a JavaScript exception is thrown (but works fine with Point, Line...).
So be careful when using this new option.

Check for the coming 3.2.4 release.

Edited by user Wednesday, October 11, 2017 3:29:04 PM(UTC)  | Reason: Not specified

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.