Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
26a475d
Merge pull request #319 from xdev-software/master
AB-xdev Feb 11, 2025
febb982
Update dependency org.apache.maven.plugins:maven-compiler-plugin to v…
xdev-renovate Feb 22, 2025
0d53a9b
Update dependency com.puppycrawl.tools:checkstyle to v10.21.3
xdev-renovate Feb 24, 2025
15a053a
Update dependency org.codehaus.mojo:flatten-maven-plugin to v1.7.0
xdev-renovate Feb 26, 2025
eacac5a
Update dependency org.apache.maven.plugins:maven-project-info-reports…
xdev-renovate Feb 27, 2025
a3c85c1
Update net.sourceforge.pmd to v7.11.0
xdev-renovate Mar 1, 2025
2a74a51
Merge pull request #139 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Mar 3, 2025
cbd32f0
Merge pull request #137 from xdev-software/renovate/org.codehaus.mojo…
AB-xdev Mar 3, 2025
2ec54bb
Merge pull request #136 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Mar 3, 2025
390c4a1
Merge pull request #135 from xdev-software/renovate/org.apache.maven.…
AB-xdev Mar 3, 2025
b1b8bf9
Merge pull request #138 from xdev-software/renovate/org.apache.maven.…
AB-xdev Mar 3, 2025
378beb5
Update dependency com.puppycrawl.tools:checkstyle to v10.21.4
xdev-renovate Mar 5, 2025
1e2a153
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Mar 10, 2025
82cb184
Update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.3
xdev-renovate Mar 10, 2025
482f67e
Update slf4j-version to v2.0.17
xdev-renovate Mar 10, 2025
31debee
Update testcontainers-version to v1.20.6
xdev-renovate Mar 10, 2025
430ec5a
Update dependency org.junit.jupiter:junit-jupiter to v5.12.0
xdev-renovate Mar 10, 2025
7b78e57
Update dependency org.seleniumhq.selenium:selenium-chrome-driver to v…
xdev-renovate Mar 10, 2025
c6cda5b
Merge pull request #140 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Mar 10, 2025
2403631
Merge pull request #323 from xdev-software/renovate/org.junit.jupiter…
AB-xdev Mar 10, 2025
09dc139
Merge pull request #320 from xdev-software/renovate/testcontainers-ve…
AB-xdev Mar 10, 2025
d84cac0
Merge pull request #325 from xdev-software/renovate/slf4j-version
AB-xdev Mar 10, 2025
b521f8c
Merge pull request #328 from xdev-software/renovate/com.fasterxml.jac…
AB-xdev Mar 10, 2025
bf78d62
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Mar 10, 2025
f79fb6f
Synced tooltip with ChartJS source/docs
AB-xdev Mar 10, 2025
88285a8
Bump version
AB-xdev Mar 10, 2025
50ce86d
Update CHANGELOG.md
AB-xdev Mar 10, 2025
79cc1e7
Merge pull request #333 from xdev-software/sync-tooltip
AB-xdev Mar 10, 2025
c1c403f
Update screenshots
AB-xdev Mar 10, 2025
d5f7e9f
Merge branch 'renovate/org.seleniumhq.selenium-selenium-chrome-driver…
AB-xdev Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.8.0
* Synced ``TooltipOptions`` from ChartJS source code #330

## 2.7.0
* ``Title``: Make it possible to set custom padding and multi-line text #316

Expand Down
6 changes: 3 additions & 3 deletions chartjs-java-model-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<parent>
<groupId>software.xdev</groupId>
<artifactId>chartjs-java-model-root</artifactId>
<version>2.7.1-SNAPSHOT</version>
<version>2.8.0-SNAPSHOT</version>
</parent>

<artifactId>chartjs-java-model-demo</artifactId>
<version>2.7.1-SNAPSHOT</version>
<version>2.8.0-SNAPSHOT</version>
<packaging>jar</packaging>

<organization>
Expand Down Expand Up @@ -44,7 +44,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.14.0</version>
<configuration>
<release>${maven.compiler.release}</release>
<compilerArgs>
Expand Down
24 changes: 12 additions & 12 deletions chartjs-java-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>software.xdev</groupId>
<artifactId>chartjs-java-model</artifactId>
<version>2.7.1-SNAPSHOT</version>
<version>2.8.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>chartjs-java-model</name>
Expand Down Expand Up @@ -48,9 +48,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<slf4j-version>2.0.16</slf4j-version>
<slf4j-version>2.0.17</slf4j-version>
<log4j-version>2.24.3</log4j-version>
<testcontainers-version>1.20.4</testcontainers-version>
<testcontainers-version>1.20.6</testcontainers-version>

<!-- by default run no tests as Docker is required -->
<skipTests>true</skipTests>
Expand Down Expand Up @@ -95,7 +95,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.18.2</version>
<version>2.18.3</version>
</dependency>

<!-- Tests -->
Expand Down Expand Up @@ -129,7 +129,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.4</version>
<version>5.12.0</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -170,7 +170,7 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>4.28.1</version>
<version>4.29.0</version>
<scope>test</scope>
<exclusions>
<!-- Tracing is not needed -->
Expand All @@ -193,7 +193,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.8.0</version>
<version>3.9.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -230,7 +230,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<version>3.14.0</version>
<configuration>
<release>${maven.compiler.release}</release>
<compilerArgs>
Expand Down Expand Up @@ -295,7 +295,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<version>1.7.0</version>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
Expand Down Expand Up @@ -360,7 +360,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.21.2</version>
<version>10.21.4</version>
</dependency>
</dependencies>
<configuration>
Expand Down Expand Up @@ -397,12 +397,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.10.0</version>
<version>7.11.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.10.0</version>
<version>7.11.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ public String getFamily()
return this.family;
}

/**
* <p>
* Font family for the scale title, follows CSS font-family options.
* </p>
*
* <p>
* Default {@code "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"}
* </p>
*/
public Font setFamily(final String family)
{
this.family = family;
Expand All @@ -51,15 +42,6 @@ public Number getSize()
return this.size;
}

/**
* <p>
* Font size for the scale title.
* </p>
*
* <p>
* Default {@code 12}
* </p>
*/
public Font setSize(final Number size)
{
this.size = size;
Expand All @@ -71,15 +53,6 @@ public FontStyle getStyle()
return this.style;
}

/**
* <p>
* Font style for the scale title, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
* </p>
*
* <p>
* Default {@code "normal"}
* </p>
*/
public Font setStyle(final FontStyle style)
{
this.style = style;
Expand All @@ -97,17 +70,11 @@ public Font setWeight(final Number weight)
return this;
}

/**
* @see #setLineHeight(String)
*/
public String getLineHeight()
{
return this.lineHeight;
}

/**
* Height of an individual line of text
*/
public void setLineHeight(final String lineHeight)
{
this.lineHeight = lineHeight;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
package software.xdev.chartjs.model.options;

import software.xdev.chartjs.model.options.plugins.zoom.Zoom;
import software.xdev.chartjs.model.options.tooltip.TooltipOptions;


public class Plugins
{
protected Title title;
protected Title subtitle;
protected LegendOptions legend;
protected Tooltip tooltip;
protected TooltipOptions tooltip;
protected Zoom zoom;

/**
Expand Down Expand Up @@ -81,9 +82,9 @@ public Plugins setLegend(final LegendOptions legend)
}

/**
* @see #setTooltip(Tooltip)
* @see #setTooltip(TooltipOptions)
*/
public Tooltip getTooltip()
public TooltipOptions getTooltip()
{
return this.tooltip;
}
Expand All @@ -98,7 +99,7 @@ public Tooltip getTooltip()
* functions must return either a string or an array of strings. Arrays of strings are treated as multiple lines of
* text.
*/
public Plugins setTooltip(final Tooltip tooltip)
public Plugins setTooltip(final TooltipOptions tooltip)
{
this.tooltip = tooltip;
return this;
Expand Down
Loading
Loading