DefaultDimens

The default chart dimensions.

Properties

Link copied to clipboard
const val AXIS_GUIDELINE_WIDTH: Float = 1.0f

The default width for axis guidelines (in dp).

Link copied to clipboard

The default horizontal margin for axis labels (in dp).

Link copied to clipboard

The default horizontal padding for axis labels (in dp).

Link copied to clipboard
const val AXIS_LABEL_MAX_LINES: Int = 1

The default maximum line count for axis labels.

Link copied to clipboard

The default rotation for axis labels (in degrees).

Link copied to clipboard
const val AXIS_LABEL_SIZE: Int = 12

The default text size for axis labels (in sp).

Link copied to clipboard

The default vertical margin for axis labels (in dp).

Link copied to clipboard

The default vertical padding for axis labels (in dp).

Link copied to clipboard
const val AXIS_LINE_WIDTH: Float = 1.0f

The default width for axis lines (in dp).

Link copied to clipboard
const val AXIS_TICK_LENGTH: Float = 4.0f

The default length for axis ticks (in dp).

Link copied to clipboard
const val CHART_HEIGHT: Float = 200.0f

The default height for charts (in dp).

Link copied to clipboard
const val COLUMN_INSIDE_SPACING: Float = 8.0f

The default spacing (in dp) between neighboring grouped columns.

Link copied to clipboard
const val COLUMN_OUTSIDE_SPACING: Float = 32.0f

The default spacing (in dp) between neighboring column collections.

Link copied to clipboard

The default corner radius for columns (in percent).

Link copied to clipboard
const val COLUMN_WIDTH: Float = 8.0f

The default width for columns (in dp).

Link copied to clipboard
const val CUBIC_STRENGTH: Float = 1.0f

The default cubic bezier strength for line charts.

Link copied to clipboard
const val DASH_GAP: Float = 2.0f

The default dash gap for DashedShape (in dp).

Link copied to clipboard
const val DASH_LENGTH: Float = 4.0f

The default dash length for DashedShape (in dp).

Link copied to clipboard
const val LINE_THICKNESS: Float = 2.0f

The default line thickness for line charts (in dp).

Link copied to clipboard

The default horizontal padding for markers (in dp).

Link copied to clipboard
const val MARKER_INDICATOR_SIZE: Float = 36.0f

The default size for marker indicators (in dp).

Link copied to clipboard
const val MARKER_VERTICAL_PADDING: Float = 4.0f

The default vertical padding for markers (in dp).

Link copied to clipboard
const val POINT_SIZE: Float = 16.0f

The default size for line chart points (in dp).

Link copied to clipboard
const val POINT_SPACING: Float = 32.0f

The default spacing for line chart points (in dp).

Link copied to clipboard
const val TEXT_COMPONENT_TEXT_SIZE: Float = 12.0f

The default text size for TextComponent (in sp).

Link copied to clipboard

The default thickness for threshold lines (in dp).