R t l in Vue Range navigator component

3 Mar 20231 minute to read

The Range Selector supports right-to-left (RTL), which can be enabled with the enableRtl property.

    <div id="app">
        <ejs-rangenavigator :valueType='valueType' :value='value' :labelFormat='labelFormat' :enableRtl='enableRtl'>
                <e-rangenavigator-series :dataSource='data' type='Area' xName='x' yName='y' width=2>
import Vue from "vue";
import { RangeNavigatorPlugin, AreaSeries, DateTime } from "@syncfusion/ej2-vue-charts";
import { bitCoinData } from "./default_data.js";


export default {
  data() {
    return {
     valueType: 'DateTime',
     value: [new Date('2017-09-01'), new Date('2018-02-01')],
     labelFormat: 'MMM-yy',
     enableRtl: true,
     data: bitCoinData
  provide: {
    rangeNavigator: [DateTime, AreaSeries]