Skip to content

Commit 1f55c93

Browse files
authored
Merge pull request #2 from natakazakova/check-readme
check readme
2 parents 0311b3c + c2f1450 commit 1f55c93

File tree

1 file changed

+111
-0
lines changed

1 file changed

+111
-0
lines changed

readme.md

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,116 @@
11
# Dashboard for ASP.NET Core - Custom Item Gallery
22

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+
![simple-table-item](images/simple-table-item.png)
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+
![polar-chart-item](images/polar-chart-item.png)
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+
![parameter-item](images/parameter-item.png)
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+
![online-map-item](images/online-map-item.png)
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+
![web-page-item](images/web-page-item.png)
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+
![gantt-item](images/gantt-item.png)
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+
![hierachical-tree-view](images/hierachical-tree-view.png)
3114

4115
## License
5116
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

Comments
 (0)