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
epf  
#1 Posted : Tuesday, November 8, 2016 4:43:34 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)
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

fourfruit  
#2 Posted : Wednesday, May 27, 2020 5:48:21 AM(UTC)
fourfruit

Rank: Member

Groups: Registered
Joined: 1/18/2017(UTC)
Posts: 11
Taiwan, Province Of China
Location: Maoli

Thanks: 4 times
How to achieve that with Chart.JS Charts?
epf  
#3 Posted : Wednesday, May 27, 2020 6:00:13 AM(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)
In the 5.5, the min/max values are paramters of the view:
Just select the ChartJS view and use the related parameters...
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.