Change the default type of the series

The type property in series is used to change the type of the series rendered within RangeNavigator. By default line series will be rendered to represent the data in RangeNavigator.

  • javascript
  • var sample = new ej.datavisualization.RangeNavigator($("#RangeNavigator"), {   
                   {   
                       // ...              
                       series: [{
                            type: 'column',
                            // ...              
                          },
                      // ...             
                   });

    When using multiple series in RangeNavigator, type property in seriesSettings is used to set a type common for all the series.

  • javascript
  • var sample = new ej.datavisualization.RangeNavigator($("#RangeNavigator"), {   
                   {   
                       // Using a common series type for all the series              
                       seriesSettings: {
                            type: 'StackingColumn',
                            // ...              
                          },
                      // ...             
                   });