/syncfusion-react:syncfusion-react-linear-gaugefrom Syncfusion React UI Components
Implement Syncfusion React Linear Gauge for displaying measurements on a linear scale. Use this skill when users need temperature sensors, KPI indicators, progress gauges, or real-time monitoring dashboards. Covers axes configuration, pointer types, ranges, annotations, customization, animations, print/export, accessibility, and internationalization.
Ships in Syncfusion React UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the Linear Gauge component when you need to:
The Linear Gauge is ideal for applications requiring visual representation of values on a horizontal/linear scale with customizable axes, pointers, ranges, and interactive features.
Syncfusion React Linear Gauge (@syncfusion/ej2-react-lineargauge) is a data visualization component that displays values on a linear scale. It consists of:
Choose the reference based on what you need to implement:
📄 Read: references/getting-started.md
@syncfusion/ej2-react-lineargauge package📄 Read: references/axis-ticks-labels.md
📄 Read: references/pointers.md
📄 Read: references/ranges-annotations.md
📄 Read: references/appearance-customization.md
📄 Read: references/advanced-features.md
Here's a minimal working example to get started:
import React from 'react';
import { LinearGaugeComponent, AxesDirective, AxisDirective,
PointersDirective, PointerDirective, RangesDirective, RangeDirective }
from '@syncfusion/ej2-react-lineargauge';
export function App() {
return (
<div style={{ height: '400px', width: '100%' }}>
<LinearGaugeComponent
title="Temperature Monitor"
orientation="Horizontal"
>
<AxesDirective>
<AxisDirective
minimum={0}
maximum={100}
labelStyle={{ format: '{value}°C' }}
>
<RangesDirective>
<RangeDirective start={0} end={30} color='#1E90FF' />
<RangeDirective start={30} end={70} color='#FFA500' />
<RangeDirective start={70} end={100} color='#FF4500' />
</RangesDirective>
<PointersDirective>
<PointerDirective value={55} />
</PointersDirective>
</AxisDirective>
</AxesDirective>
</LinearGaugeComponent>
</div>
);
}
Install the package first:
npm install @syncfusion/ej2-react-lineargauge --save
<LinearGaugeComponent title="Temperature">
<AxesDirective>
<AxisDirective minimum={-40} maximum={50} labelStyle={{ format: '{value}°C' }}>
<RangesDirective>
<RangeDirective start={-40} end={0} color='#4CAF50' />
<RangeDirective start={0} end={25} color='#8BC34A' />
<RangeDirective start={25} end={50} color='#FF5722' />
</RangesDirective>
<PointersDirective>
<PointerDirective value={20} />
</PointersDirective>
</AxisDirective>
</AxesDirective>
</LinearGaugeComponent>
<PointersDirective>
<PointerDirective
value={75}
type='Marker'
markerType='Rectangle'
width={20}
color='#007AFF'
/>
</PointersDirective>
const [value, setValue] = useState(50);
useEffect(() => {
const timer = setInterval(() => {
setValue(prev => (prev + (Math.random() - 0.5) * 10) % 100);
}, 1000);
return () => clearInterval(timer);
}, []);
<PointerDirective value={value} />
| Prop | Type | Purpose | Example |
|---|---|---|---|
title | string | Gauge title text | title="Temperature" |
orientation | "Horizontal" | "Vertical" | Layout orientation (default: Vertical) | orientation="Horizontal" |
width | string | Gauge width | width="100%" or width="400px" |
height | string | Gauge height | height="300px" |
| Prop | Type | Purpose | Example |
|---|---|---|---|
minimum | number | Start value of the axis range | minimum={0} |
maximum | number | End value of the axis range | maximum={200} |
labelStyle | object | Label customization (use format property) | labelStyle={{ format: '{value}°C' }} |
{ format: '{value}' } - Shows value as-is{ format: '{value}°C' } - Adds °C suffix{ format: '${value}K' } - Adds $ prefix and K suffix{ format: '{value}%' } - Adds % suffix⚠️ NOT SUPPORTED:
majorTicksInterval - Not a valid propertyminorTicksInterval - Not a valid propertyaxisLineStyle - Not a valid property (use axis-level styling instead)| Prop | Type | Purpose | Example |
|---|---|---|---|
value | number | The value to display | value={140} |
color | string | Pointer color (hex or named) | color='green' or color='#1976D2' |
type | "Bar" | "Marker" | Pointer shape type (default: Bar) | type="Marker" |
markerType | "Circle" | "Rectangle" | "Triangle" | "Diamond" | "Image" | "Text" | Shape for marker pointers | markerType="Rectangle" |
width | number | Pointer width in pixels | width={8} |
Bar Pointer (Default)
<PointerDirective value={140} color='blue' width={8} />
Marker Pointer
<PointerDirective
value={75}
type='Marker'
markerType='Rectangle'
width={15}
color='#1976D2'
/>
| Prop | Type | Purpose | Example |
|---|---|---|---|
start | number | Start value of the range | start={0} |
end | number | End value of the range | end={80} |
color | string | Range background color | color='#4CAF50' |
startWidth | number | Width of start edge | startWidth={15} |
endWidth | number | Width of end edge | endWidth={15} |
<RangeDirective start={0} end={80} color='#4CAF50' startWidth={15} endWidth={15} />
import React from 'react';
import { LinearGaugeComponent, AxesDirective, AxisDirective,
PointersDirective, PointerDirective, RangesDirective, RangeDirective }
from '@syncfusion/ej2-react-lineargauge';
export function App() {
return (
<LinearGaugeComponent>
<AxesDirective>
<AxisDirective minimum={0} maximum={200} labelStyle={{ format: '{value}°C' }}>
<PointersDirective>
<PointerDirective value={140} color='green'></PointerDirective>
</PointersDirective>
<RangesDirective>
<RangeDirective start={0} end={80} startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={80} end={120} startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={120} end={140} startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={140} end={200} startWidth={15} endWidth={15}></RangeDirective>
</RangesDirective>
</AxisDirective>
</AxesDirective>
</LinearGaugeComponent>
);
}
<LinearGaugeComponent title="Project Status">
<AxesDirective>
<AxisDirective minimum={0} maximum={100} labelStyle={{ format: '{value}%' }}>
<RangesDirective>
<RangeDirective start={0} end={30} color='#EF5350' startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={30} end={70} color='#FFCA28' startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={70} end={100} color='#66BB6A' startWidth={15} endWidth={15}></RangeDirective>
</RangesDirective>
<PointersDirective>
<PointerDirective value={75} color='#1976D2' width={8}></PointerDirective>
</PointersDirective>
</AxisDirective>
</AxesDirective>
</LinearGaugeComponent>
<LinearGaugeComponent>
<AxesDirective>
<AxisDirective minimum={0} maximum={1000} labelStyle={{ format: '${value}K' }}>
<RangesDirective>
<RangeDirective start={0} end={400} color='#E53935' startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={400} end={700} color='#FB8C00' startWidth={15} endWidth={15}></RangeDirective>
<RangeDirective start={700} end={1000} color='#43A047' startWidth={15} endWidth={15}></RangeDirective>
</RangesDirective>
<PointersDirective>
<PointerDirective value={650} color='#1976D2' width={6}></PointerDirective>
<PointerDirective value={850} type='Marker' markerType='Circle' width={10} color='#FF6F00'></PointerDirective>
</PointersDirective>
</AxisDirective>
</AxesDirective>
</LinearGaugeComponent>
Use the following methods/events when you need interactivity like animation lifecycle, tooltips, drag, export, and print:
Methods
destroy()export(type, fileName, orientation?, allowDownload?)print(id?)setAnnotationValue(annotationIndex, content, axisValue?)setPointerValue(axisIndex, pointerIndex, value)Events
load, loaded, resizedvalueChange (pointer value changes)dragStart, dragMove, dragEndbeforePrinttooltipRenderanimationCompleteannotationRender, axisLabelRendergaugeMouseDown, gaugeMouseMove, gaugeMouseUp, gaugeMouseLeaveFor more details or advanced scenarios, consult the specific reference files linked above.
references/advanced-features.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/appearance-customization.md (opens in a new tab)references/axis-ticks-labels.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/pointers.md (opens in a new tab)references/ranges-annotations.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-reactOther plugins' skills for the same job
65 skills in this plugin
/syncfusion-react-3d-chartImplement Syncfusion React 3D Chart component from the @syncfusion/ej2-react-charts package. Use this skill when users need 3D column, bar, stacked column, stacked bar, or 100% stacked chart variations. Covers Chart3DComponent, axis configuration (category, numeric, datetime, logarithmic), data binding, multiple panes, data labels, legends, tooltips, selection, print/export, theming, and accessibility./syncfusion-react-3d-circular-chartImplements the Syncfusion React 3D Circular Chart component for pie and donut chart visualization. Use this when users need 3D circular charts, data labels, legends, tooltips, or empty point handling. Guides through installation, configuration, customization, and troubleshooting of 3D Circular Charts in React applications./syncfusion-react-accordionGuide users to implement Syncfusion React Accordion component for collapsible content panels. Use this skill whenever the user needs to create expandable/collapsible sections, accordion layouts, tabbed content panels, multi-step forms, FAQs, or navigation with expandable items. Covers component setup, expand modes, animations, dynamic content loading, styling, events, lifecycle, React hooks integration, and complete API reference.