• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6696: ymin/ymax not having good defaults

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ChartPlugin Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Old way

Previously when ymin and ymax were not specified, the ChartPlugin would use the data's min/max as the starting point for ymin and ymax, but it would then pick a numygrids such that the Y increment between Y grid lines was a 1*, 2*, or 5*. ChartPlugin would then need to adjust the ymin and/or ymax to fit the new numygrids.

Unfortunately this resulted in odd ymin and ymax values that often were not human friendly

New way

The new way is to adjust ymin down to the nearest 1*, 2*, or 5* value and to adjust ymax up to the nearest 1*, 2*, or 5* value. numygrids is then found such that the Y grids has an increment that is as human friendly as possible

-- TWiki:Main/TaitCyrus - 2011-04-26

This change has been checked in and uploaded.

-- TaitCyrus - 2011-04-26

ItemTemplate
Summary ymin/ymax not having good defaults
ReportedBy TWiki:Main.TaitCyrus
Codebase

SVN Range TWiki-5.1.0-trunk, Tue, 19 Apr 2011, build 21041
AppliesTo Extension
Component ChartPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:21099
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2011-05-03 - TaitCyrus
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback