Latest source merged from Syncfusion
This commit is contained in:
Родитель
acd9929983
Коммит
d4a30c468b
|
@ -61,7 +61,7 @@ Data labels can be customized by using the [DataLabelSettings](https://help.sync
|
|||
* [LabelStyle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartDataLabelSettings.html#Syncfusion_Maui_Charts_ChartDataLabelSettings_LabelStyle) - Gets or sets the options for customizing the data labels.
|
||||
* [UseSeriesPalette](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.ChartDataLabelSettings.html#Syncfusion_Maui_Charts_ChartDataLabelSettings_UseSeriesPalette) - Gets or sets a value indicating whether the data label should reflect the series interior.
|
||||
|
||||
![Data label in MAUI chart](DataLabel_images/maui_chart_data_label.png)
|
||||
![Data label in MAUI chart](DataLabel_images/maui_chart_data_label.jpg)
|
||||
|
||||
## Alignment
|
||||
|
||||
|
@ -124,7 +124,7 @@ The [LabelPlacement](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.
|
|||
. . .
|
||||
<chart:ColumnSeries ShowDataLabels="True">
|
||||
<chart:ColumnSeries.DataLabelSettings>
|
||||
<chart:CartesianDataLabelSettings UseSeriesPalette="True"/>
|
||||
<chart:CartesianDataLabelSettings UseSeriesPalette="False"/>
|
||||
</chart:ColumnSeries.DataLabelSettings>
|
||||
</chart:ColumnSeries>
|
||||
</chart:SfCartesianChart>
|
||||
|
@ -138,7 +138,7 @@ ColumnSeries series = new ColumnSeries();
|
|||
. . .
|
||||
series.DataLabelSettings = new CartesianDataLabelSettings()
|
||||
{
|
||||
UseSeriesPalette = true,
|
||||
UseSeriesPalette = false,
|
||||
};
|
||||
|
||||
chart.Series.Add(series);
|
||||
|
@ -147,4 +147,4 @@ chart.Series.Add(series);
|
|||
|
||||
{% endtabs %}
|
||||
|
||||
![Applying series interior for data label in MAUI chart](DataLabel_images/maui_chart_data_label_with_series_brush.png)
|
||||
![Applying series interior for data label in MAUI chart](DataLabel_images/maui_chart_data_label_with_series_brush.jpg)
|
||||
|
|
|
@ -110,7 +110,7 @@ chart.PrimaryAxis = new CategoryAxis()
|
|||
|
||||
{% endtabs %}
|
||||
|
||||
![Zooming support in MAUI Chart](Zooming-and-panning_images/maui_chart_zooming.png)
|
||||
![Zooming support in MAUI Chart](Zooming-and-panning_images/maui_chart_zooming.jpg)
|
||||
|
||||
## Zooming Mode
|
||||
|
||||
|
|
|
@ -16,13 +16,11 @@ documentation: ug
|
|||
{% highlight xaml %}
|
||||
|
||||
<chart:SfCircularChart>
|
||||
|
||||
<chart:SfCircularChart.Series>
|
||||
<chart:DoughnutSeries ItemsSource="{Binding Data}"
|
||||
XBindingPath="Product"
|
||||
YBindingPath="SalesRate" />
|
||||
</chart:SfCircularChart.Series>
|
||||
|
||||
</chart:SfCircularChart>
|
||||
|
||||
{% endhighlight %}
|
||||
|
@ -52,11 +50,9 @@ The [DoughnutCoefficient](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Ch
|
|||
{% highlight xaml %}
|
||||
|
||||
<chart:SfCircularChart>
|
||||
|
||||
<chart:SfCircularChart.Series>
|
||||
<chart:DoughnutSeries ItemsSource="{Binding Data}" DoughnutCoefficient="0.7" XBindingPath="Product" YBindingPath="SalesRate" />
|
||||
</chart:SfCircularChart.Series>
|
||||
|
||||
</chart:SfCircularChart>
|
||||
|
||||
{% endhighlight %}
|
||||
|
@ -64,7 +60,6 @@ The [DoughnutCoefficient](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Ch
|
|||
{% highlight c# %}
|
||||
|
||||
SfCircularChart chart = new SfCircularChart();
|
||||
|
||||
DoughnutSeries series = new DoughnutSeries();
|
||||
series.XBindingPath = "Product";
|
||||
series.YBindingPath = "SalesRate";
|
||||
|
@ -100,7 +95,6 @@ By using the [StartAngle](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Ch
|
|||
{% highlight c# %}
|
||||
|
||||
SfCircularChart chart = new SfCircularChart();
|
||||
|
||||
DoughnutSeries series = new DoughnutSeries();
|
||||
series.XBindingPath = "Product";
|
||||
series.YBindingPath = "SalesRate";
|
||||
|
|
Загрузка…
Ссылка в новой задаче