You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/chart/types/rangearea.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ By default, the series backgrounds are semi-transparent, which lets the user cle
24
24
2. Set the series `Type` parameter to `ChartSeriesType.RangeArea`.
25
25
3. Provide a data collection to its `Data` property. You can use a [collection of arrays](#binding-range-area-series-to-collection-of-arrays) or a [collection of custom objects](#binding-range-area-series-to-custom-objects).
26
26
4. If the Range Area data is a collection of arrays, provide data for the `Categories` parameter of the `ChartCategoryAxis`.
27
+
5. (optional) Set `Visible="true"` to `<ChartSeriesLabels>` to show both the `from` and `to` labels. Alternatively, enable visibility or define [label `Template`]({%slug components/chart/label-template-format%}) for `<ChartSeriesLabelsFrom>` or `<ChartSeriesLabelsTo>`. These are nested tags inside `<ChartSeriesLabels>` of the respective `<ChartSeries>`.
27
28
28
29
### Binding Range Area Series to Collection of Arrays
29
30
@@ -39,17 +40,26 @@ Set the `Categories` parameter of the `ChartCategoryAxis` to `object[]`. The mem
39
40
<ChartSeries Name="Sydney"
40
41
Data="@SydneyData"
41
42
Type="ChartSeriesType.RangeArea">
43
+
<ChartSeriesLabels Visible="true" />
42
44
</ChartSeries>
43
45
<ChartSeries Name="Sofia"
44
46
Data="@SofiaData"
45
47
Type="ChartSeriesType.RangeArea">
48
+
@*<ChartSeriesLabels>
49
+
<ChartSeriesLabelsFrom Visible="true" />
50
+
<ChartSeriesLabelsTo Visible="false" />
51
+
</ChartSeriesLabels>*@
46
52
</ChartSeries>
47
53
</ChartSeriesItems>
48
54
49
55
<ChartCategoryAxes>
50
56
<ChartCategoryAxis Categories="@MonthNames" />
51
57
</ChartCategoryAxes>
52
58
59
+
<ChartValueAxes>
60
+
<ChartValueAxis AxisCrossingValue="@( new object[] { -60 } )" />
Copy file name to clipboardExpand all lines: components/chart/types/rangebar.md
+40-17Lines changed: 40 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ The <a href="https://www.telerik.com/blazor-ui/range-bar-chart" target="_blank">
20
20
2. Set the series `Type` parameter to `ChartSeriesType.RangeBar`.
21
21
3. Provide a data collection to the series `Data` parameter. You can use a [collection of arrays](#binding-range-bar-series-to-collection-of-arrays) or a [collection of custom objects](#binding-range-column-series-to-custom-objects).
22
22
4. If the Range Bar data is a collection of arrays, provide data for the `Categories` parameter of the `ChartCategoryAxis`.
23
+
5. (optional) Set `Visible="true"` or define [label `Template`]({%slug components/chart/label-template-format%}) for `<ChartSeriesLabelsFrom>` or `<ChartSeriesLabelsTo>`. These are nested tags inside `<ChartSeriesLabels>` of the respective `<ChartSeries>`.
23
24
24
25
### Binding Range Bar Series to Collection of Arrays
25
26
@@ -35,6 +36,17 @@ Set the `Categories` parameter of the `ChartCategoryAxis` to `object[]`. The mem
Copy file name to clipboardExpand all lines: components/chart/types/rangecolumn.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ The <a href="https://www.telerik.com/blazor-ui/range-column-chart" target="_blan
20
20
2. Set the series `Type` parameter to `ChartSeriesType.RangeColumn`.
21
21
3. Provide a data collection to its `Data` property. You can use a [collection of arrays](#binding-range-column-series-to-collection-of-arrays) or a [collection of custom objects](#binding-range-column-series-to-custom-objects).
22
22
4. If the Range Column data is a collection of arrays, provide data for the `Categories` parameter of the `ChartCategoryAxis`.
23
+
5. (optional) Set `Visible="true"` or define [label `Template`]({%slug components/chart/label-template-format%}) for `<ChartSeriesLabelsFrom>` or `<ChartSeriesLabelsTo>`. These are nested tags inside `<ChartSeriesLabels>` of the respective `<ChartSeries>`.
23
24
24
25
### Binding Range Column Series to Collection of Arrays
25
26
@@ -35,10 +36,18 @@ Set the `Categories` parameter of the `ChartCategoryAxis` to `object[]`. The mem
0 commit comments