Skip to content

DevExpress-Examples/mvc-dashboard-default-item-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for MVC - How to Customize the Default Settings of the Newly Added Items

This example demonstrates how to subscribe to the dashboard.items collection changes to track when new items are added or existing items are removed. This allows you to change the default item configuration with the Dashboard Model API.

This example applies the following settings to the newly added dashboard items:

  • Assigns "Local Color Scheme".
  • Adds custom name.
  • Limits chart's display data.
  • Assigns a custom dateTimeGroupInterval for the newly added dimensions.
  • Invokes a notification dialog when you remove the existing item.

The image below shows the added chart item with the custom "Chart 1 - Custom Name" caption that displays sales of the Beverages category only.

Dashboard

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)