Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEST CartesianLinearTicks
Browse files Browse the repository at this point in the history
kevin-mcgoldrick committed Jan 30, 2025
1 parent 18123b5 commit a39a976
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -263,6 +263,10 @@ private void initChartModel() {

CartesianScales cScales = new CartesianScales();
CartesianLinearAxes linearAxes = new CartesianLinearAxes();
CartesianLinearTicks ticks = new CartesianLinearTicks();
ticks.setMinRotation(10);
ticks.setMaxRotation(80);
linearAxes.setTicks(ticks);
linearAxes.setBeginAtZero(true);
cScales.addYAxesData(linearAxes);
options.setScales(cScales);
@@ -327,6 +331,10 @@ private void initializeTpsModel() {

CartesianScales cScales = new CartesianScales();
CartesianLinearAxes linearAxes = new CartesianLinearAxes();
CartesianLinearTicks ticks = new CartesianLinearTicks();
ticks.setMinRotation(10);
ticks.setMaxRotation(80);
linearAxes.setTicks(ticks);
linearAxes.setBeginAtZero(true);
cScales.addYAxesData(linearAxes);
options.setScales(cScales);

0 comments on commit a39a976

Please sign in to comment.