Bug 147 - [Chameleon] ScaleBar overlap labels and intervals.
: [Chameleon] ScaleBar overlap labels and intervals.
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P3 normal
: 2.0 Final
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-11-25 15:41 by
Modified: 2005-01-11 12:43 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-11-25 15:41:49
Darren's Comment: Issue noticed during cwc2 1.0.3 training course.

> 7. Sometimes, when the values labeled on Scalebar are large enough to 
> be in scientific notation, the number values overwrite one-another.
> 

 This is related to the core of MapServer, but is important for the Chameleon
Widget ScaleBar. I want to first see what the developer’s first thought before
it becomes a MapServer issue.

The basic Idea of this bug is to make the ScaleBar be able to display more
cleanly from zoom threshold to threshold. Often the scale bars number overlap
due to the interval size.

The Scalebar does use scientific notation, but it is brought in to late for the
notation to be useful.

The intervals set by the user should be a guide for the Scale Bar on what to
display when the to how to display rather than the static display for the scale
bar. The length of the text should be balanced with the intervals.
------- Comment #1 From 2004-04-06 13:42:20 -------
There is a MapServer bug (513) related to this, if you select inappropriate
units the numbers become very large and the scalebar collapses to a single pixel.

The issue described here is not one that we can write code to protect against. 
It is up to the application designer (i.e. the user of the widget) to do the
right thing.

I think the best approach here is to document the possible issues in the widget
documentation and close this bug.
------- Comment #2 From 2004-04-06 13:44:29 -------
accepting bug
------- Comment #3 From 2004-05-03 16:25:06 -------
Changed Target Milestone to 1.99 Final
------- Comment #4 From 2005-01-11 12:43:07 -------
added in cvs.