Skip to content

lower boundary ignored #27

Description

@mydeadlyvenoms

Hi everyone,
It seems like the lower boundary is ignored - it should be reproducible using the following code.
The upper boundary works fine.

Backing Bean

lineChartModel = new LineChartModel();
lineChartModel.setAspectRatio(AspectRatio.DOUBLE_OCTAVE);
lineChartModel.setShowArea(true);
lineChartModel.setFullWidth(true);
lineChartModel.setLow(0);
lineChartModel.setHigh(100);
lineChartModel.setShowPoint(false);
        
Axis xAxis = lineChartModel.getAxis(AxisType.X);
xAxis.setShowLabel(false);

LineChartSeries cpuUsage = new LineChartSeries();
        
for (int i = 0; i < 21; i++) {
    lineChartModel.addLabel(i);
    cpuUsage.set(ThreadLocalRandom.current().nextInt(30, 50 + 1));
}

lineChartModel.addSeries(cpuUsage);

Screenshot
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions