You need to log in before you can comment on or make changes to this bug.
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.
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.
accepting bug
Changed Target Milestone to 1.99 Final
added in cvs.