- Summary:
Chart scaling flexibility/capabilities
- Bugzilla Bug (s) Resolved:
125022
- Description:
1. Added a FractionFormatSpecifier to convert the decimal to the fraction.
2. Added support for inputing the fraction value in the text field. The decimal
value will be calculated and displayed automatically.
3. Added an util class "Fraction" to convert and calculate the
fraction value.
- Tests Description:
Unit Test
- Notes to Build Team:
- Notes to Developers:
- Notes to QA:
Please see the format specifier dialog and try to input the fraction in the
text field such as MarkerLine
- Notes to Documentation:
- Files Added:
- Files Edited:
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/ValueFormatter.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/FractionNumberFormatSpecifier.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/FractionNumberFormatSpecifierImpl.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/NumberFormatSpecifierImpl.java
/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/Fraction.java
/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/util/FractionTest.java
/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/extension/i18n/messages.properties
/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierComposite.java
/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TextEditorComposite.java
/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisMarkersSheet.java
/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisScaleSheet.java