WebGrid Enterprise comes with Interactive UI feature where you can customize
the ChartView at run time. It also has a feature to customize the Chart Ribbon.
With this option, you can limit what kind of interactions that a user
can do with Chart Interactive UI.
WebGrid Enterprise comes with Interactive UI feature where you can customize
the ChartView at run time. The pivoting rules for the Chart Interactive UI includes:
- ShowInChartFieldList
- CanAddToChartData
- CanAddToChartCategories
- CanAddToChartFilter
- CanAddToChartSeries
In this topic, you will learn how to enable hide chart ribbon initially, customize
chart ribbon and pivot rules in WebGrid.
To hide Chart Ribbon initially
- Open WebGrid Properties.
- In Charting properties go to ChartInteractiveUI
and set RibbonState to Hidden.
- Run the project.
To customize Chart Ribbon in WebGrid
- Open WebGrid Properties.
- In Charting properties go to ChartInteractiveUI,
set TitlesRibbon visible to false.
- Set ChartTypeRibbon visible to false.
- Run the project.
To customize Pivot Rules in WebGrid
- Open WebGrid Designer.
- Switch to Advanced tab. Expand RootTable >>
Columns.
- Choose appropriate WebGridColumn Properties, customize one or all
properties from above pivoting rules. For example: Select OrderID
and set ShowInChartFieldList to true.
- Run the project.