• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 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.

Item6703: Limit number of datalabels drawn

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

When a large amount of data is charted, it is not possible to use datalabel since all data labels would get drawn on top of each other making them unreadable. It would be nice to have the ability to limit how many datalabels are drawn.

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

Add enhancement allowing datalabel to have values of "auto" and "autobox". These will limit the data labels to only be on xgrid lines. So "auto" draws the data label while "autobox" draws the data label in a box.

-- TaitCyrus - 2011-04-27

An additional option was added where you can specify a digit to specify the number of =datalabel='s to draw. So specifying '5' would attempt to draw 5 datalabels. Specifying "5 box" or "5box" or "box 5" or "box5" will attempt to draw 5 datalabels inside of a box. I say "attempt" since the code will try to produce '#' equally spaced datalabels and depending on the number of data points fewer labels will be drawn than requested. For example with 16 data points, specifying 7, 8, or 9 datalabels will only produce 8 datalabels.

Also improved "auto" such in addition to "autobox" "auto box" and "box auto" are also supported

-- TaitCyrus - 2011-05-03

ItemTemplate
Summary Limit number of datalabels drawn
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:21111 TWikirev:21145
TargetRelease n/a
ReleasedIn

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