DevExtreme v26.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

Vue Charts - Continuous Data

In this example, the PolarChart component visualizes a curve that has the shape of a petalled flower. This curve is commonly-known as «rose» or «rhodonea». It is visualized by the line series type.

Backend API
<template> <DxPolarChart id="chart" :data-source="dataSource" title="Rose in Polar Coordinates" > <DxSeries type="line"/> <DxArgumentAxis :inverted="true" :start-angle="90" :tick-interval="30" /> <DxExport :enabled="true"/> <DxLegend :visible="false"/> </DxPolarChart> </template> <script setup lang="ts"> import { DxPolarChart, DxSeries, DxArgumentAxis, DxExport, DxLegend, } from 'devextreme-vue/polar-chart'; import { dataSource } from './data.ts'; </script> <style> #chart { height: 440px; } </style>
export const dataSource = [{ arg: 0, val: 0, }, { arg: 30, val: 1.7, }, { arg: 45, val: 0, }, { arg: 60, val: 1.7, }, { arg: 90, val: 0, }, { arg: 120, val: 1.7, }, { arg: 135, val: 0, }, { arg: 150, val: 1.7, }, { arg: 180, val: 0, }, { arg: 210, val: 1.7, }, { arg: 225, val: 0, }, { arg: 240, val: 1.7, }, { arg: 270, val: 0, }, { arg: 300, val: 1.7, }, { arg: 315, val: 0, }, { arg: 330, val: 1.7, }, { arg: 360, val: 0, }];
import { createApp } from 'vue'; import App from './App.vue'; createApp(App).mount('#app');
<!DOCTYPE html> <html lang="en"> <head> <title>DevExtreme Demo</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0" /> <link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/26.1.5/css/dx.light.css" /> <link rel="stylesheet" type="text/css" href="./bundle.css" /> </head> <body class="dx-viewport"> <div class="demo-container"> <div id="app"> </div> </div> <script src="bundles/vendor/vue.vendor.js"></script> <script src="./bundle.js"></script> </body> </html>