Skip to content

Commit 21e4161

Browse files
DevExpressExampleBotDevExpressExampleBot
authored andcommitted
Source auto update [skip ci]
2 parents f8d3193 + 717ca69 commit 21e4161

32 files changed

+876
-13002
lines changed

JS/package-lock.json

Lines changed: 0 additions & 12908 deletions
This file was deleted.

JS/public/favicon.ico

-3.78 KB
Binary file not shown.

JS/src/App.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

JS/src/App.test.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

JS/src/DashboardComponent.js

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"CategoryId": 1,
3+
"CategoryName": "Beverages",
4+
"Description": "Soft drinks, coffees, teas, beers, and ales",
5+
"Products": [
6+
{
7+
"ProductId": 1,
8+
"ProductName": "Chai",
9+
"SupplierId": 1,
10+
"CategoryId": 1,
11+
"QuantityPerUnit": "10 boxes x 20 bags",
12+
"UnitPrice": 18.0000,
13+
"UnitsInStock": 39,
14+
"UnitsOnOrder": 0,
15+
"ReorderLevel": 10,
16+
"Discontinued": false,
17+
"Supplier": null
18+
},
19+
{
20+
"ProductId": 2,
21+
"ProductName": "Chang",
22+
"SupplierId": 1,
23+
"CategoryId": 1,
24+
"QuantityPerUnit": "24 - 12 oz bottles",
25+
"UnitPrice": 19.0000,
26+
"UnitsInStock": 17,
27+
"UnitsOnOrder": 40,
28+
"ReorderLevel": 25,
29+
"Discontinued": false,
30+
"Supplier": null
31+
32+
},
33+
{
34+
"ProductId": 24,
35+
"ProductName": "Guaraná Fantástica",
36+
"SupplierId": 10,
37+
"CategoryId": 1,
38+
"QuantityPerUnit": "12 - 355 ml cans",
39+
"UnitPrice": 4.5000,
40+
"UnitsInStock": 20,
41+
"UnitsOnOrder": 0,
42+
"ReorderLevel": 0,
43+
"Discontinued": true,
44+
"Supplier": null
45+
46+
},
47+
{
48+
"ProductId": 34,
49+
"ProductName": "Sasquatch Ale",
50+
"SupplierId": 16,
51+
"CategoryId": 1,
52+
"QuantityPerUnit": "24 - 12 oz bottles",
53+
"UnitPrice": 14.0000,
54+
"UnitsInStock": 111,
55+
"UnitsOnOrder": 0,
56+
"ReorderLevel": 15,
57+
"Discontinued": false,
58+
"Supplier": null
59+
60+
},
61+
{
62+
"ProductId": 35,
63+
"ProductName": "Steeleye Stout",
64+
"SupplierId": 16,
65+
"CategoryId": 1,
66+
"QuantityPerUnit": "24 - 12 oz bottles",
67+
"UnitPrice": 18.0000,
68+
"UnitsInStock": 20,
69+
"UnitsOnOrder": 0,
70+
"ReorderLevel": 15,
71+
"Discontinued": false,
72+
"Supplier": null
73+
},
74+
{
75+
"ProductId": 38,
76+
"ProductName": "Côte de Blaye",
77+
"SupplierId": 18,
78+
"CategoryId": 1,
79+
"QuantityPerUnit": "12 - 75 cl bottles",
80+
"UnitPrice": 263.5000,
81+
"UnitsInStock": 17,
82+
"UnitsOnOrder": 0,
83+
"ReorderLevel": 15,
84+
"Discontinued": false,
85+
"Supplier": null
86+
},
87+
{
88+
"ProductId": 39,
89+
"ProductName": "Chartreuse verte",
90+
"SupplierId": 18,
91+
"CategoryId": 1,
92+
"QuantityPerUnit": "750 cc per bottle",
93+
"UnitPrice": 18.0000,
94+
"UnitsInStock": 69,
95+
"UnitsOnOrder": 0,
96+
"ReorderLevel": 5,
97+
"Discontinued": false,
98+
"Supplier": null
99+
},
100+
{
101+
"ProductId": 43,
102+
"ProductName": "Ipoh Coffee",
103+
"SupplierId": 20,
104+
"CategoryId": 1,
105+
"QuantityPerUnit": "16 - 500 g tins",
106+
"UnitPrice": 46.0000,
107+
"UnitsInStock": 17,
108+
"UnitsOnOrder": 10,
109+
"ReorderLevel": 25,
110+
"Discontinued": false,
111+
"Supplier": null
112+
},
113+
{
114+
"ProductId": 67,
115+
"ProductName": "Laughing Lumberjack Lager",
116+
"SupplierId": 16,
117+
"CategoryId": 1,
118+
"QuantityPerUnit": "24 - 12 oz bottles",
119+
"UnitPrice": 14.0000,
120+
"UnitsInStock": 52,
121+
"UnitsOnOrder": 0,
122+
"ReorderLevel": 10,
123+
"Discontinued": false,
124+
"Supplier": null
125+
},
126+
{
127+
"ProductId": 70,
128+
"ProductName": "Outback Lager",
129+
"SupplierId": 7,
130+
"CategoryId": 1,
131+
"QuantityPerUnit": "24 - 355 ml bottles",
132+
"UnitPrice": 15.0000,
133+
"UnitsInStock": 15,
134+
"UnitsOnOrder": 10,
135+
"ReorderLevel": 30,
136+
"Discontinued": false,
137+
"Supplier": null
138+
},
139+
{
140+
"ProductId": 75,
141+
"ProductName": "Rhönbräu Klosterbier",
142+
"SupplierId": 12,
143+
"CategoryId": 1,
144+
"QuantityPerUnit": "24 - 0.5 l bottles",
145+
"UnitPrice": 7.7500,
146+
"UnitsInStock": 125,
147+
"UnitsOnOrder": 0,
148+
"ReorderLevel": 25,
149+
"Discontinued": false,
150+
"Supplier": null
151+
},
152+
{
153+
"ProductId": 76,
154+
"ProductName": "Lakkalikööri",
155+
"SupplierId": 23,
156+
"CategoryId": 1,
157+
"QuantityPerUnit": "500 ml",
158+
"UnitPrice": 18.0000,
159+
"UnitsInStock": 57,
160+
"UnitsOnOrder": 0,
161+
"ReorderLevel": 20,
162+
"Discontinued": false,
163+
"Supplier": null
164+
165+
}
166+
]
167+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Dashboard>
3+
<Title Text="Products" />
4+
<DataSources>
5+
<JsonDataSource Name="Categories" RootElement="Products" ComponentName="jsonDataSource1">
6+
<Source SourceType="DevExpress.DataAccess.Json.UriJsonSource" />
7+
<Schema>
8+
<Node Name="root" Type="System.Object" Selected="true" NodeType="Object">
9+
<Node Name="CategoryId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
10+
<Node Name="CategoryName" Type="System.String" Selected="true" NodeType="Property" />
11+
<Node Name="Description" Type="System.String" Selected="true" NodeType="Property" />
12+
<Node Name="Products" Selected="true" NodeType="Array">
13+
<Node Name="CategoryId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
14+
<Node Name="Discontinued" Type="System.Nullable`1[System.Boolean]" Selected="true" NodeType="Property" />
15+
<Node Name="ProductId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
16+
<Node Name="ProductName" Type="System.String" Selected="true" NodeType="Property" />
17+
<Node Name="QuantityPerUnit" Type="System.String" Selected="true" NodeType="Property" />
18+
<Node Name="ReorderLevel" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
19+
<Node Name="Supplier" Type="System.Object" Selected="true" NodeType="Property" />
20+
<Node Name="SupplierId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
21+
<Node Name="UnitPrice" Type="System.Nullable`1[System.Double]" Selected="true" NodeType="Property" />
22+
<Node Name="UnitsInStock" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
23+
<Node Name="UnitsOnOrder" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
24+
</Node>
25+
</Node>
26+
</Schema>
27+
</JsonDataSource>
28+
</DataSources>
29+
<Items>
30+
<Card ComponentName="cardDashboardItem1" Name="Products" DataSource="jsonDataSource1">
31+
<DataItems>
32+
<Dimension DataMember="ProductName" DefaultId="DataItem0" />
33+
<Dimension DataMember="QuantityPerUnit" DefaultId="DataItem1" />
34+
<Measure DataMember="UnitPrice" DefaultId="DataItem2">
35+
<NumericFormat FormatType="Currency" />
36+
</Measure>
37+
</DataItems>
38+
<SeriesDimensions>
39+
<SeriesDimension DefaultId="DataItem1" />
40+
<SeriesDimension DefaultId="DataItem0" />
41+
</SeriesDimensions>
42+
<Card>
43+
<ActualValue DefaultId="DataItem2" />
44+
<AbsoluteVariationNumericFormat />
45+
<PercentVariationNumericFormat />
46+
<PercentOfTargetNumericFormat />
47+
<LayoutTemplate MinWidth="270" MaxWidth="270" Type="Centered">
48+
<MainValue Visible="true" ValueType="Title" DimensionIndex="0" />
49+
<SubValue Visible="true" ValueType="Subtitle" DimensionIndex="0" />
50+
<BottomValue Visible="true" ValueType="ActualValue" DimensionIndex="0" />
51+
<BottomSubValue1 Visible="true" ValueType="AbsoluteVariation" DimensionIndex="0" />
52+
<BottomSubValue2 Visible="true" ValueType="PercentVariation" DimensionIndex="0" />
53+
<DeltaIndicator Visible="true" />
54+
<Sparkline Visible="true" />
55+
</LayoutTemplate>
56+
</Card>
57+
</Card>
58+
</Items>
59+
<LayoutTree>
60+
<LayoutGroup>
61+
<LayoutItem DashboardItem="cardDashboardItem1" />
62+
</LayoutGroup>
63+
</LayoutTree>
64+
</Dashboard>
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Dashboard>
3+
<Title Text="Support" />
4+
<DataSources>
5+
<JsonDataSource Name="Support" RootElement="Employee" ComponentName="jsonDataSource1">
6+
<Source SourceType="DevExpress.DataAccess.Json.UriJsonSource" />
7+
<Schema>
8+
<Node Name="root" Type="System.Object" Selected="true" NodeType="Object">
9+
<Node Name="Employee" Selected="true" NodeType="Array">
10+
<Node Name="Employee" Type="System.String" Selected="true" NodeType="Property" />
11+
<Node Name="IssueType" Type="System.String" Selected="true" NodeType="Property" />
12+
<Node Name="ProductName" Type="System.String" Selected="true" NodeType="Property" />
13+
<Node Name="ResolvedTime (Sum)" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
14+
</Node>
15+
</Node>
16+
</Schema>
17+
</JsonDataSource>
18+
<JsonDataSource Name="Categories" RootElement="Products" ComponentName="jsonDataSource2">
19+
<Source SourceType="DevExpress.DataAccess.Json.UriJsonSource" />
20+
<Schema>
21+
<Node Name="root" Type="System.Object" Selected="true" NodeType="Object">
22+
<Node Name="CategoryId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
23+
<Node Name="CategoryName" Type="System.String" Selected="true" NodeType="Property" />
24+
<Node Name="Description" Type="System.String" Selected="true" NodeType="Property" />
25+
<Node Name="Products" Selected="true" NodeType="Array">
26+
<Node Name="CategoryId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
27+
<Node Name="Discontinued" Type="System.Nullable`1[System.Boolean]" Selected="true" NodeType="Property" />
28+
<Node Name="ProductId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
29+
<Node Name="ProductName" Type="System.String" Selected="true" NodeType="Property" />
30+
<Node Name="QuantityPerUnit" Type="System.String" Selected="true" NodeType="Property" />
31+
<Node Name="ReorderLevel" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
32+
<Node Name="Supplier" Type="System.Object" Selected="true" NodeType="Property" />
33+
<Node Name="SupplierId" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
34+
<Node Name="UnitPrice" Type="System.Nullable`1[System.Double]" Selected="true" NodeType="Property" />
35+
<Node Name="UnitsInStock" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
36+
<Node Name="UnitsOnOrder" Type="System.Nullable`1[System.Int64]" Selected="true" NodeType="Property" />
37+
</Node>
38+
</Node>
39+
</Schema>
40+
</JsonDataSource>
41+
</DataSources>
42+
<Items>
43+
<ListBox ComponentName="listBoxDashboardItem1" Name="Platform" DataSource="jsonDataSource1" ShowAllValue="false" ListBoxType="Radio">
44+
<InteractivityOptions IgnoreMasterFilters="false" />
45+
<DataItems>
46+
<Dimension DataMember="ProductName" DefaultId="DataItem0" />
47+
<Measure DataMember="ResolvedTime (Sum)" DefaultId="DataItem2" />
48+
</DataItems>
49+
<HiddenMeasures>
50+
<Measure DefaultId="DataItem2" />
51+
</HiddenMeasures>
52+
<FilterDimensions>
53+
<Dimension DefaultId="DataItem0" />
54+
</FilterDimensions>
55+
</ListBox>
56+
<Chart ComponentName="chartDashboardItem2" Name="Bug Count" DataSource="jsonDataSource1">
57+
<DataItems>
58+
<Measure DataMember="ResolvedTime (Sum)" DefaultId="DataItem0" />
59+
<Dimension DataMember="Employee" DefaultId="DataItem1" />
60+
<Dimension DataMember="IssueType" DefaultId="DataItem2" />
61+
</DataItems>
62+
<SeriesDimensions>
63+
<SeriesDimension DefaultId="DataItem2" />
64+
</SeriesDimensions>
65+
<Arguments>
66+
<Argument DefaultId="DataItem1" />
67+
</Arguments>
68+
<Panes>
69+
<Pane Name="Pane 1">
70+
<Series>
71+
<Simple SeriesType="StackedBar">
72+
<Value DefaultId="DataItem0" />
73+
</Simple>
74+
</Series>
75+
</Pane>
76+
</Panes>
77+
</Chart>
78+
</Items>
79+
<LayoutTree>
80+
<LayoutGroup>
81+
<LayoutGroup>
82+
<LayoutItem DashboardItem="listBoxDashboardItem1" Weight="0.3027932960893855" />
83+
<LayoutItem DashboardItem="chartDashboardItem2" Weight="1.6972067039106145" />
84+
</LayoutGroup>
85+
</LayoutGroup>
86+
</LayoutTree>
87+
</Dashboard>

0 commit comments

Comments
 (0)