AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.14.0 version of this document. Switch to the 8.4.0 version to see the up to date information.

namespace anychart.gauges Improve this Doc

Functions Overview

circular()Creates and returns a Circular Gauge.
led()Creates and returns a Led gauge.
linear()Creates and returns a Linear Gauge.
tank()Creates and returns a Tank gauge.
thermometer()Creates and returns a Thermometer gauge.

Functions Description

circular

Creates and returns a Circular Gauge.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringValue to set.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.CircularGauge - Circular gauge with defaults.

led

Creates and returns a Led gauge.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringValue to set.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.LinearGauge - Linear gauge with defaults.

linear

Creates and returns a Linear Gauge.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringValue to set.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.LinearGauge - Linear gauge with defaults.

tank

Creates and returns a Tank gauge.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringValue to set.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.LinearGauge - Linear gauge with defaults.

thermometer

Creates and returns a Thermometer gauge.

Params:

NameTypeDescription
dataanychart.data.View | anychart.data.Set | Array | stringValue to set.
csvSettingsanychart.enums.TextParsingMode | anychart.data.TextParsingSettingsIf CSV string is passed, you can pass CSV parser settings here as a hash map.

Returns:

anychart.charts.LinearGauge - Linear gauge with defaults.