A Linear Gauge displays a single measured value along a straight axis, making it ideal for medical and scientific dashboards. AnyChart JS supports color-coded scale bars, markers, and labels to highlight different value ranges at a glance.
This sample presents two linear gauges showing blood sugar test results for a patient. The first gauge measures fasting glucose (5.7 mmol/l) and the second measures the level two hours after a 75g glucose load (7.9 mmol/l). Three colored ranges—green for normal, yellow for impaired tolerance, and orange for diabetes—provide immediate diagnostic context. A non-interactive legend identifies each range.
Follow the step-by-step Linear Gauge Tutorial to learn how such charts are built. See the Linear Gauge documentation for all configuration options.