Documentation of 'info.monitorenter.gui.chart.axis.AxisLinear' Java class
AxisLinear
info.monitorenter.gui.chart.axis

Class AxisLinear<T extends IAxisScalePolicy>

    • Constructor Detail

      • AxisLinear

        public AxisLinear(IAxisLabelFormatter formatter)
        Constructor that uses the given label formatter for formatting labels.

        Parameters:
        formatter - needed for formatting labels of this axis.
      • AxisLinear

        public AxisLinear(IAxisLabelFormatter formatter,
                          T scalePolicy)
        Constructor that uses the given label formatter for formatting labels along with the given scale policy.

        Parameters:
        formatter - needed for formatting labels of this axis.
        scalePolicy - controls the ticks/labels and their distance.
    • Method Detail

      • getScaledValue

        public double getScaledValue(double absolute)
        Description copied from interface: IAxis
        Scales the given absolute value into a value between 0 and 1.0 (if it is in the range of the data).

        If the given absolute value is not in the display- range of the Chart2D, negative values or values greater than 1.0 may result.

        Parameters:
        absolute - a value in the real value range of the corresponding chart.
        Returns:
        a value between 0.0 and 1.0 that is mapped to a position within the chart.
        See Also:
        IAxis.getScaledValue(double)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.