Vue Charts Overview
The Kendo UI for Vue Charts provide high-quality graphical data visualization options.
They include a variety of chart types and styles that have extensive configuration options. This flexibility allows you to quickly and easily create the exact chart you need to fit your specific requirements for functionality and appearance.
The Charts are built from the ground up and specifically for Vue, so that you get high-performance chart controls which integrate tightly with your application and with the rest of the Kendo UI for Vue components. Along with the most common Bar, Line, Donut & Pie charts, the suite provides a collection of 17 customizable chart and series types, as well as more specific charts like the StockChart, Sparkline, and Sankey.
Vue Charts Example
Table of contents
Installation
To initialize the Charts, either:
Using CDN
To use the Kendo UI for Vue Charts with CDN, follow the below steps:
- Reference the
charts,intlanddrawingpackages.
<script src="https://unpkg.com/@progress/kendo-vue-intl@latest/dist/cdn/js/kendo-vue-intl.js"></script>
<script src="https://unpkg.com/@progress/kendo-drawing/dist/cdn/js/kendo-drawing.js">
<script src="https://unpkg.com/@progress/kendo-vue-charts@latest/dist/cdn/js/kendo-vue-charts.js"></script>
- Reference one of the Kendo UI themes to style your components.
// Load the Kendo Meridian Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-meridian@latest/dist/all.css">
// Load the Kendo Bootstrap Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-bootstrap@latest/dist/all.css">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
// To load the Kendo Material Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-material@latest/dist/all.css">
// To load the Kendo Fluent Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-fluent@latest/dist/all.css">
// Load the Kendo Default Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css">
- Follow the instructions in this article to activate your product license. You can skip this step if your application already contains a license key.
Initializing with Webpack
-
Download and install the package. Use Node.js v5.0.0 or later.
shnpm install --save @progress/kendo-vue-charts @progress/kendo-licensing @progress/kendo-vue-intl @progress/kendo-drawing -
Once installed, import the package module.
jsx// ES2015 module syntax import { ChartSeriesLabels, ChartSeriesMarkers, ChartLegend, ChartLegendTitle, ChartValueAxisTitle, ChartValueAxisLabels, Chart, ChartSeries, ChartSeriesItem, ChartCategoryAxis, ChartCategoryAxisItem, ChartTitle, ChartTooltip, ChartValueAxis, ChartValueAxisItem, ....... Other Chart sub-components } from "@progress/kendo-vue-charts";jsx// CommonJS format const { ChartSeriesLabels, ChartSeriesMarkers, ChartLegend, ChartLegendTitle, ChartValueAxisTitle, ChartValueAxisLabels, Chart, ChartSeries, ChartSeriesItem, ChartCategoryAxis, ChartCategoryAxisItem, ChartTitle, ChartTooltip, ChartValueAxis, ChartValueAxisItem, ....... Other Chart sub-components } = require('@progress/kendo-vue-charts'); -
You are required to install one of the Kendo UI for Vue themes to style your components. For more information on how to add the styles, refer to the article on getting started.
-
Follow the instructions on the Kendo UI for Vue My License page to activate your license. You can skip this step if your application already contains a Kendo UI for Vue license file.
Chart Types
Categorical
Circular
Freeform
Scatter
Sparkline
StockChart
Sankey
Charts Features
Each Kendo UI for Vue Charts component delivers a range of handy and developer-friendly features whose number and further development are not limited by the list in this section.
- Data Binding—The Charts support the binding of their data series to arrays, arrays of arrays, and objects. Beyond the actual series, other areas of the Chart, like the axis and labels, can all be bound to your data as well.
- Rendering Modes—The Charts support two modes for rendering—Canvas (bitmap) and SVG (vector graphics). By default, the Charts are rendered through SVG.
- Export Options—The Charts provide built-in support to save your Charts as a PNG, PDF, SVG, and the Kendo UI Drawing format.
- Panning and Zooming—The Charts offer intuitive panning and zooming interactions, allowing users to easily explore the data.
- Appearance—By default all Kendo UI for Vue components are styled by the five polished themes (Meridian, Bootstrap, Material, Fluent, and Default) shipped with the Kendo UI for Vue suite. The Chart component provides options for easier configuration of parameters like dimensions, colors, range, and more.
- Globalization—The Charts support globalization and localization to ensure that each Chart can fit in any application, no matter what languages and locales need to be supported.
Dependencies
The Kendo UI for Vue Charts package requires you to install the following peer dependencies in your application:
- vue 3.0.0*
- @progress/kendo-vue-intl
- @progress/kendo-licensing
- @progress/kendo-drawing
Support and Learning Resources
- Charts Homepage
- API Reference of the Charts Component
- Getting Started with Kendo UI for Vue - JavaScript (Online Guide)
- Getting Started with Kendo UI for Vue - TypeScript (Online Guide)
- Getting Started with Kendo UI for Vue - JavaScript + Options API (Online Guide)
- Getting Started with Kendo UI for Vue - TypeScript + Options API (Online Guide)
- Getting Started with Kendo UI for Vue - Nuxt 3 (Online Guide)
- Virtual Classroom (Training Course for Registered Users)
- Charts Forum
- Knowledge Base
- Kendo UI Productivity Tools extension for VS Code