-
Notifications
You must be signed in to change notification settings - Fork 64
/
stacked-area-series-page.xml
32 lines (31 loc) · 1.77 KB
/
stacked-area-series-page.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!-- >> stacked-series -->
<navigation:ExamplePage xmlns:navigation="navigation/example-page" loaded="onPageLoaded" navigatedTo="onNavigatedTo" xmlns:chart="nativescript-ui-chart" xmlns="http://www.nativescript.org/tns.xsd">
<navigation.actionBar>
<ActionBar>
<ActionBar.actionItems>
<ios>
<ActionItem text="Options" ios.position="right" tap="{{onOptionsTapped}}" />
</ios>
<android>
<ActionItem text="Stack" android.position="popup" tap="onStackModeSelected" />
<ActionItem text="Stack 100" android.position="popup" tap="onStack100ModeSelected" />
<ActionItem text="None" android.position="popup" tap="onNoneStackModeSelected" />
</android>
</ActionBar.actionItems>
</ActionBar>
</navigation.actionBar>
<chart:RadCartesianChart id="cartesianChart">
<chart:RadCartesianChart.series>
<chart:AreaSeries items="{{ firstSeries }}" stackMode="Stack" categoryProperty="Country" valueProperty="Amount"></chart:AreaSeries>
<chart:AreaSeries items="{{ secondSeries }}" stackMode="Stack" categoryProperty="Country" valueProperty="Amount"></chart:AreaSeries>
<chart:AreaSeries items="{{ thirdSeries }}" stackMode="Stack" categoryProperty="Country" valueProperty="Amount"></chart:AreaSeries>
</chart:RadCartesianChart.series>
<chart:RadCartesianChart.horizontalAxis>
<chart:CategoricalAxis/>
</chart:RadCartesianChart.horizontalAxis>
<chart:RadCartesianChart.verticalAxis>
<chart:LinearAxis/>
</chart:RadCartesianChart.verticalAxis>
</chart:RadCartesianChart>
</navigation:ExamplePage>
<!-- << stacked-series -->