Skip to content

Commit

Permalink
Upgrade XChart to 3.8.4 (openhab#3291)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <github@klug.nrw>
GitOrigin-RevId: c2e81a1
  • Loading branch information
J-N-K authored and splatch committed Jul 12, 2023
1 parent 21eead5 commit 886123b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import org.knowm.xchart.XYChart;
import org.knowm.xchart.XYChartBuilder;
import org.knowm.xchart.XYSeries;
import org.knowm.xchart.style.Styler;
import org.knowm.xchart.style.AxesChartStyler;
import org.knowm.xchart.style.Styler.LegendPosition;
import org.knowm.xchart.style.XYStyler;
import org.knowm.xchart.style.markers.None;
Expand Down Expand Up @@ -195,7 +195,7 @@ public BufferedImage createChart(@Nullable String serviceId, @Nullable String th
styler.setYAxisDecimalPattern(yAxisDecimalPattern);
}
styler.setYAxisTickMarkSpacingHint(yAxisSpacing);
styler.setYAxisLabelAlignment(Styler.TextAlignment.Right);
styler.setYAxisLabelAlignment(AxesChartStyler.TextAlignment.Right);
// chart
styler.setChartBackgroundColor(chartTheme.getChartBackgroundColor());
styler.setChartFontColor(chartTheme.getChartFontColor());
Expand Down
3 changes: 1 addition & 2 deletions bundles/org.opensmarthouse.core.ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
<dependency>
<groupId>org.knowm.xchart</groupId>
<artifactId>xchart</artifactId>
<!-- Newer versions have issues with customized grid lines, see: https://github.com/knowm/XChart/issues/628 -->
<version>3.1.0</version>
<version>3.8.4</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
Expand Down

0 comments on commit 886123b

Please sign in to comment.