mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
This reverts commit c2e81a13fd
.
This commit is contained in:
parent
b8ae55c3f5
commit
7a87001f98
@ -15,10 +15,10 @@ https://github.com/openhab/openhab-core
|
||||
|
||||
== Third-party Content
|
||||
|
||||
xchart-3.8.4
|
||||
xchart-2.6.1
|
||||
* License: Apache License, 2.0
|
||||
* Project: http://knowm.org/open-source/xchart
|
||||
* Source: https://github.com/timmolter/XChart/tree/xchart-3.8.4
|
||||
* Source: https://github.com/timmolter/XChart/tree/xchart-2.6.1
|
||||
|
||||
== Third-party license(s)
|
||||
|
||||
|
@ -4,7 +4,4 @@ Private-Package: \
|
||||
org.knowm.xchart.*
|
||||
Import-Package: \
|
||||
de.erichseifert.vectorgraphics2d.*;resolution:=optional,\
|
||||
de.rototor.pdfbox.*;resolution:=optional,\
|
||||
com.madgag.*;resolution:=optional,\
|
||||
org.apache.pdfbox.*;resolution:=optional,\
|
||||
*
|
@ -18,7 +18,8 @@
|
||||
<dependency>
|
||||
<groupId>org.knowm.xchart</groupId>
|
||||
<artifactId>xchart</artifactId>
|
||||
<version>3.8.4</version>
|
||||
<!-- Newer versions have issues with customized grid lines, see: https://github.com/knowm/XChart/issues/628 -->
|
||||
<version>3.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openhab.core.bundles</groupId>
|
||||
|
@ -32,7 +32,7 @@ import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.knowm.xchart.XYChart;
|
||||
import org.knowm.xchart.XYChartBuilder;
|
||||
import org.knowm.xchart.XYSeries;
|
||||
import org.knowm.xchart.style.AxesChartStyler;
|
||||
import org.knowm.xchart.style.Styler;
|
||||
import org.knowm.xchart.style.Styler.LegendPosition;
|
||||
import org.knowm.xchart.style.XYStyler;
|
||||
import org.knowm.xchart.style.markers.None;
|
||||
@ -195,7 +195,7 @@ public class DefaultChartProvider implements ChartProvider {
|
||||
styler.setYAxisDecimalPattern(yAxisDecimalPattern);
|
||||
}
|
||||
styler.setYAxisTickMarkSpacingHint(yAxisSpacing);
|
||||
styler.setYAxisLabelAlignment(AxesChartStyler.TextAlignment.Right);
|
||||
styler.setYAxisLabelAlignment(Styler.TextAlignment.Right);
|
||||
// chart
|
||||
styler.setChartBackgroundColor(chartTheme.getChartBackgroundColor());
|
||||
styler.setChartFontColor(chartTheme.getChartFontColor());
|
||||
|
Loading…
Reference in New Issue
Block a user