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

Notification

Icon
Error

Options
Go to last post Go to first unread
epf  
#1 Posted : Tuesday, November 8, 2016 4:43:34 PM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 557
Switzerland

Thanks: 7 times
Was thanked: 79 time(s) in 77 post(s)
To force the minimum and maximum values of an axis, just edit the NVD3 Script:Additional options, and set the following code
Code:
chart.yDomain([1000,3000]);


If the chart has several lines, you might use:
Code:
chart.yDomain1([1000,3000]);
chart.yDomain2([1000,3000]);


I recommend to check Google for additional samples.

Edited by user Tuesday, November 8, 2016 4:44:50 PM(UTC)  | Reason: Not specified

Users browsing this topic
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.