Search results

DisplayOptionModel API in JavaScript Pivot Table API control

Interface for a class DisplayOption

Properties

primary

Primary

Allows you to set the primary view to be either table or chart.The available options are:

  • Table: Allows you to display the pivot table as primary view.
  • Chart: Allows you to display the pivot chart as primary view.

    To use this option, it requires the property view to be Both.

view

View

Allows you to choose the view port as either table or chart or both table and chart. The available options are:

  • Table: Allows you to render the component as tabular form.
  • Chart: Allows you to render the component as graphical format.
  • Both: Allows you to render the component as both table and chart.

    By default, Table is used as a default view in the component.