All Components

This website hosts Kendo UI wrappers of Kendo UI for jQuery widgets intended to be used in the React ecosystem.

Go to the native Kendo UI implementations for React

Gauges Overview

The Gauges package provide a set of components for building common gauge types.

Basic Usage

The following example demonstrates the Linear and Radial Gauges in action.

class GaugesContainer extends React.Component {
    constructor(props) {
        super(props);
        this.value = props.value;
    }

    render() {
        return (
            <div className="example-wrapper">
                <div className="col-xs-12 col-sm-6 example-col">
                   <p>LinearGauge</p>
                   <LinearGauge pointer={{value: this.value}}/>
                </div>
                <div className="col-xs-12 col-sm-6 example-col">
                   <p>RadialGauge</p>
                   <RadialGauge pointer={{value: this.value}} />
                </div>
            </div>
        );
    }
}
ReactDOM.render(
    <GaugesContainer value={30}/>,
    document.querySelector('my-app')
);

Installation

All components that you reference during the installation will be present in the final bundle of your application. To avoid ending up with components you do not actually need, import from the package only the desired component.

  1. Download and install the package.

    npm install --save @progress/kendo-gauges-react-wrapper
  2. Once installed, import the desired component from the package.

    import { LinearGauge } from '@progress/kendo-gauges-react-wrapper';

    The package also exports the following individual components:

    • LinearGauge
    • RadialGauge
  3. You are required to install one of the Kendo UI themes to style your components.

Dependencies

The Gauges package requires you to install the following peer dependencies in your application:

  • @progress/kendo-ui
In this article