-
public interface HorizontalDimensionsHolds information on a Chart’s horizontal dimensions.
-
-
Method Summary
Modifier and Type Method Description FloatgetContentWidth(Integer maxMajorEntryCount)Given the chart’s maximum number of major entries, calculates the width of the Chart’s content (in pixels). HorizontalDimensionsscaled(Float scale)Creates a new HorizontalDimensions instance by multiplying this one’s scalable values by the given factor. abstract FloatgetXSpacing()The distance between neighboring major entries (in pixels). abstract FloatgetScalableStartPadding()The scalable part of the distance between the start of the content area and the first entry (in pixels). abstract FloatgetScalableEndPadding()The scalable part of the distance between the end of the content area and the last entry (in pixels). abstract FloatgetUnscalableStartPadding()The unscalable part of the distance between the start of the content area and the first entry (in pixels). abstract FloatgetUnscalableEndPadding()The unscalable part of the distance between the end of the content area and the last entry (in pixels). FloatgetStartPadding()FloatgetEndPadding()FloatgetPadding()-
-
Method Detail
-
getContentWidth
Float getContentWidth(Integer maxMajorEntryCount)
Given the chart’s maximum number of major entries, calculates the width of the Chart’s content (in pixels).
-
scaled
HorizontalDimensions scaled(Float scale)
Creates a new HorizontalDimensions instance by multiplying this one’s scalable values by the given factor.
-
getXSpacing
abstract Float getXSpacing()
The distance between neighboring major entries (in pixels). This can be scaled.
-
getScalableStartPadding
abstract Float getScalableStartPadding()
The scalable part of the distance between the start of the content area and the first entry (in pixels).
-
getScalableEndPadding
abstract Float getScalableEndPadding()
The scalable part of the distance between the end of the content area and the last entry (in pixels).
-
getUnscalableStartPadding
abstract Float getUnscalableStartPadding()
The unscalable part of the distance between the start of the content area and the first entry (in pixels).
-
getUnscalableEndPadding
abstract Float getUnscalableEndPadding()
The unscalable part of the distance between the end of the content area and the last entry (in pixels).
-
getStartPadding
Float getStartPadding()
-
getEndPadding
Float getEndPadding()
-
getPadding
Float getPadding()
-
-
-
-