|
1 | 1 | # Dashboard for ASP.NET Core - Custom Item Gallery
|
2 | 2 |
|
| 3 | +The example contains the source code of custom items you can use in your Web Dashboard application. |
| 4 | + |
| 5 | +<!-- default file list --> |
| 6 | + |
| 7 | +## Files to Look At |
| 8 | + |
| 9 | +* [SimpleTableItem.js](CS/AspNetCoreCustomItem/wwwroot/js/SimpleTableItem.js) |
| 10 | +* [PolarChartItem.js](CS/AspNetCoreCustomItem/wwwroot/js/PolarChartItem.js) |
| 11 | +* [ParameterItem.js](CS/AspNetCoreCustomItem/wwwroot/js/ParameterItem.js) |
| 12 | +* [OnlineMapItem.js](CS/AspNetCoreCustomItem/wwwroot/js/OnlineMapItem.js) |
| 13 | +* [WebPageItem.js](CS/AspNetCoreCustomItem/wwwroot/js/WebPageItem.js) |
| 14 | +* [GanttItem.js](CS/AspNetCoreCustomItem/wwwroot/js/GanttItem.js) |
| 15 | +* [HierarchicalTreeViewItem.js](CS/AspNetCoreCustomItem/wwwroot/js/HierarchicalTreeViewItem.js) |
| 16 | +* [_Layout.cshtml](CS/AspNetCoreCustomItem/Pages/_Layout.cshtml) |
| 17 | + |
| 18 | +<!-- default file list end --> |
| 19 | + |
| 20 | +## Country Sales Dashboard |
| 21 | + |
| 22 | +The dashboard displays product sales for the selected category. Use the Country parameter to filter data by country. Select a category on the Polar Chart to show sales by products from this category in the table. |
| 23 | + |
| 24 | +This dashboard contains the following custom items: |
| 25 | + |
| 26 | +### Simple Table |
| 27 | + |
| 28 | +**View Script**: [SimpleTableItem.js](CS/AspNetCoreCustomItem/wwwroot/js/SimpleTableItem.js) |
| 29 | + |
| 30 | +A custom **Simple Table** item renders data from the measure / dimensions as an HTML table. You can use the Simple Table as a detail item along with the Master-Filtering feature. This custom item supports the following settings that you can configure in the Web Dashboard UI: |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +- **Show Headers** - Specifies whether to show the field headers in the table. The default value is `Auto`. |
| 35 | +- **Text Color** - Allows you to change the text color. The default value is `Dark`. |
| 36 | + |
| 37 | +### Polar Chart Item |
| 38 | + |
| 39 | +**View Script**: [PolarChartItem.js](CS/AspNetCoreCustomItem/wwwroot/js/PolarChartItem.js) |
| 40 | + |
| 41 | +A custom **Polar Chart** item that allows you to use the [dxPolarChart](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxPolarChart/) DevExtreme widget in your dashboards. This item supports the following settings that you can configure in the Web Dashboard UI: |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +- **Display Labels** - Specifies whether to show point labels. |
| 46 | + |
| 47 | +### Parameter Item |
| 48 | + |
| 49 | +**View Script**: [ParameterItem.js](CS/AspNetCoreCustomItem/wwwroot/js/ParameterItem.js) |
| 50 | + |
| 51 | +A custom **Parameter** item renders [dashboard parameter dialog](https://docs.devexpress.com/Dashboard/117571) content inside the dashboard layout, and allows you to edit and submit parameter values. This item supports the following settings that you can configure in the Web Dashboard UI: |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +- **Show Headers** - Specifies whether to show headers in the parameters table. |
| 56 | +- **Show Parameter Name** - Specifies whether to show the first column with parameter names. |
| 57 | +- **Automatic Updates** - Specifies whether a parameter item is updated automatically. When enabled, this option hides the 'Submit' and 'Reset' buttons. |
| 58 | + |
| 59 | +## Country Info Dashboard |
| 60 | + |
| 61 | +The dashboard displays information from Wikipedia for the selected country. |
| 62 | + |
| 63 | +This dashboard contains the following custom items: |
| 64 | + |
| 65 | +### Online Map |
| 66 | + |
| 67 | +**View Script**: [OnlineMapItem.js](CS/AspNetCoreCustomItem/wwwroot/js/OnlineMapItem.js) |
| 68 | + |
| 69 | +A custom **Online Map** item allows you to place callouts on Google or Bing maps using geographical coordinates. The [dxMap](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxMap/) is used as an underlying UI component. This custom item supports the following settings that you can configure in the Web Dashboard UI: |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | +- **Provider** - Specifies whether to show Google or Bing maps. |
| 74 | +- **Type** - Specifies the map type. You can choose between `RoadMap`, `Satellite` or `Hybrid`. |
| 75 | +- **Display Mode** - Specifies whether to show markers or routes. |
| 76 | + |
| 77 | +### Web Page |
| 78 | + |
| 79 | +**View Script**: [WebPageItem.js](CS/AspNetCoreCustomItem/wwwroot/js/WebPageItem.js) |
| 80 | + |
| 81 | +A custom **Web Page** item displays a single web page or a set of pages. You can use the Web Page as a detail item along with the Master-Filtering feature. The content is rendered inside the Inline Frame element (`<iframe>`). This custom item supports the following setting that you can configure in the Web Dashboard UI: |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | +- **URL** - Specifies a web page URL. You can set a single page as well as a set of pages (e.g., https://en.wikipedia.org/wiki/{0}). If you add a dimension and specify a placeholder, the data source field returns strings that will be inserted in the position of the {0} placeholder. Thus, the Web Page item joins the specified URL with the current dimension value and displays the page located by this address. |
| 86 | + |
| 87 | +## Tasks Dashboard |
| 88 | + |
| 89 | +The dashboard displays tasks. Select the task to display detailed information in the Grid. |
| 90 | + |
| 91 | +This dashboard contains the following custom item: |
| 92 | + |
| 93 | +### Gannt Item |
| 94 | + |
| 95 | +**View Script**: [GanttItem.js](CS/AspNetCoreCustomItem/wwwroot/js/GanttItem.js) |
| 96 | + |
| 97 | +A custom **Gannt** item displays the task flow and dependencies between tasks. This item uses [dxGantt](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxGantt/) as an underlying UI component. |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +## Departments Dashboard |
| 102 | + |
| 103 | +The dashboard displays departmental data. Use the custom Tree View item to filter detailed information in the Grid. |
| 104 | + |
| 105 | +This dashboard contains the following custom item: |
| 106 | + |
| 107 | +### Hierarchical Tree View |
| 108 | + |
| 109 | +**View Script**: [HierarchicalTreeViewItem.js](CS/AspNetCoreCustomItem/wwwroot/js/HierarchicalTreeViewItem.js) |
| 110 | + |
| 111 | +A custom **Tree View** item can display hierarchical data. This item uses [dxTreeView](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxTreeView/) as an underlying UI component. |
| 112 | + |
| 113 | + |
3 | 114 |
|
4 | 115 | ## License
|
5 | 116 | These extensions are distributed under the **MIT** license (free and open-source), but can only be used with a commercial DevExpress Dashboard software product. You can [review the license terms](https://www.devexpress.com/Support/EULAs/NetComponents.xml) or [download a free trial version](https://go.devexpress.com/DevExpressDownload_UniversalTrial.aspx) of the Dashboard suite at [DevExpress.com](https://www.devexpress.com).
|
|
0 commit comments