Skip to content

Commit

Permalink
add XYTime Plot (breakpoints, colorRamp ...) functionality to the sim…
Browse files Browse the repository at this point in the history
…wrapper contrib
  • Loading branch information
frievoe97 committed Feb 4, 2025
1 parent 8f51a54 commit bc3323e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public XYTime() {
* <p>
* The number of colors must be one less than the number of values.
*/
public XYTime setBreakpoints(String[] colors, Double... values) {
public XYTime setBreakpoints(String[] colors, double... values) {
this.breakpoints = Map.of(
"colors", colors,
"values", values
Expand All @@ -72,7 +72,7 @@ public XYTime setBreakpoints(String[] colors, Double... values) {
/**
* Set breakpoints as a simple list.
*/
public XYTime setBreakpoints(Double... values) {
public XYTime setBreakpoints(double... values) {
this.breakpoints = List.of(values);
return this;
}
Expand Down

0 comments on commit bc3323e

Please sign in to comment.