Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 127312 Details for
Bug 210913
add quadratic setting for scale
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
AutoScale to regard scale's min/max values when factor is set
clipboard.txt (text/plain), 1.29 KB, created by
Erdal Karaca
on 2009-03-03 08:15:24 EST
(
hide
)
Description:
AutoScale to regard scale's min/max values when factor is set
Filename:
MIME Type:
Creator:
Erdal Karaca
Created:
2009-03-03 08:15:24 EST
Size:
1.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.birt.chart.engine >Index: src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java >=================================================================== >RCS file: /cvsroot/birt/source/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java,v >retrieving revision 1.118 >diff -u -r1.118 AutoScale.java >--- src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java 2 Mar 2009 10:21:13 -0000 1.118 >+++ src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java 3 Mar 2009 13:11:47 -0000 >@@ -2048,6 +2048,7 @@ > dStep = dPrecision; > } > } >+ > sc = new AutoScale( iType, new Double( 0 ), new Double( 0 ) ); > sc.setStep( new Double( dStep ) ); > sc.bStepFixed = true; >@@ -2068,9 +2069,10 @@ > // OVERRIDE STEP IF SPECIFIED > // ignore step number if factor is set > setStepToScale( sc, oStep, null, rtc ); >- >- oMinValue = new Double( dMinValue ); >- oMaxValue = new Double( dMaxValue ); >+ >+ oMinValue = oMinimum != null ? ((NumberDataElement)oMinimum).getValue() : new Double( dMinValue ); >+ oMaxValue = oMaximum != null ? ((NumberDataElement)oMaximum).getValue() : new Double( dMaxValue ); >+ > sc.setMinimum( oMinValue ); > sc.setMaximum( oMaxValue ); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210913
:
83761
|
127133
|
127134
| 127312 |
128009