eclipse / swtchart

Eclipse Public License 2.0
45 stars 41 forks source link

update #308

Closed jackybian closed 1 year ago

jackybian commented 1 year ago

new demo from develop branch latest update

eselmeister commented 1 year ago

@jackybian Please address the mentioned issues of the PR #306. Usually, rebase the PR and push the changes in the same PR #306 so that all addressed issues can be reviewed.

Adjust e.g.:

Axis xAxis = (Axis)baseChart.getAxisSet().getXAxis(BaseChart.ID_PRIMARY_X_AXIS);
->
IAxis xAxis = baseChart.getAxisSet().getXAxis(BaseChart.ID_PRIMARY_X_AXIS);
The warnings need to be resolved too:
Description Resource    Path    Location    Type
Discouraged access: The method 'Axis.getPixelCoordinate(double, double, double)' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 57 Java Problem
Discouraged access: The method 'Axis.getPixelCoordinate(double, double, double)' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 58 Java Problem
Discouraged access: The method 'Axis.getPixelCoordinate(double, double, double)' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 83 Java Problem
Discouraged access: The method 'Axis.getPixelCoordinate(double, double, double)' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 84 Java Problem
Discouraged access: The method 'Axis.getPixelCoordinate(double, double, double)' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 85 Java Problem
Discouraged access: The method 'Axis.getRange()' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 44 Java Problem
Discouraged access: The method 'Axis.getRange()' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 45 Java Problem
Discouraged access: The method 'Axis.getRange()' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 46 Java Problem
Discouraged access: The method 'Axis.getRange()' is not API (restriction on required project 'org.eclipse.swtchart')    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 47 Java Problem
Discouraged access: The type 'Axis' is not API (restriction on required project 'org.eclipse.swtchart') BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 26 Java Problem
Discouraged access: The type 'Axis' is not API (restriction on required project 'org.eclipse.swtchart') BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 42 Java Problem
Discouraged access: The type 'Axis' is not API (restriction on required project 'org.eclipse.swtchart') BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 42 Java Problem
Discouraged access: The type 'Axis' is not API (restriction on required project 'org.eclipse.swtchart') BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 43 Java Problem
Discouraged access: The type 'Axis' is not API (restriction on required project 'org.eclipse.swtchart') BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 43 Java Problem
The field BigDecimal.ROUND_DOWN is deprecated since version 9   BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 106    Java Problem
The method setScale(int, int) from the type BigDecimal is deprecated since version 9    BoxPlotMarker.java  /org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/marker line 106    Java Problem

I'll close this PR. Please proceed in #306.