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)
|
||||
|
|
|
@ -296,11 +296,11 @@ The [ShowDataLabels](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Charts.
|
|||
|
||||
{% highlight xaml %}
|
||||
|
||||
<chart:SfCartesianChart>
|
||||
. . .
|
||||
<chart:ColumnSeries ShowDataLabels="True">
|
||||
</chart:ColumnSeries>
|
||||
</chart:SfCartesianChart>
|
||||
<chart:SfCartesianChart>
|
||||
. . .
|
||||
<chart:ColumnSeries ShowDataLabels="True">
|
||||
</chart:ColumnSeries>
|
||||
</chart:SfCartesianChart>
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -15,27 +15,25 @@ documentation: ug
|
|||
|
||||
{% highlight xaml %}
|
||||
|
||||
<chart:SfCircularChart>
|
||||
|
||||
<chart:SfCircularChart.Series>
|
||||
<chart:DoughnutSeries ItemsSource="{Binding Data}"
|
||||
XBindingPath="Product"
|
||||
YBindingPath="SalesRate" />
|
||||
</chart:SfCircularChart.Series>
|
||||
|
||||
</chart:SfCircularChart>
|
||||
<chart:SfCircularChart>
|
||||
<chart:SfCircularChart.Series>
|
||||
<chart:DoughnutSeries ItemsSource="{Binding Data}"
|
||||
XBindingPath="Product"
|
||||
YBindingPath="SalesRate" />
|
||||
</chart:SfCircularChart.Series>
|
||||
</chart:SfCircularChart>
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
{% highlight c# %}
|
||||
|
||||
SfCircularChart chart = new SfCircularChart();
|
||||
SfCircularChart chart = new SfCircularChart();
|
||||
|
||||
DoughnutSeries series = new DoughnutSeries();
|
||||
series.XBindingPath = "Product";
|
||||
series.YBindingPath = "SalesRate";
|
||||
DoughnutSeries series = new DoughnutSeries();
|
||||
series.XBindingPath = "Product";
|
||||
series.YBindingPath = "SalesRate";
|
||||
|
||||
chart.Series.Add(series);
|
||||
chart.Series.Add(series);
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
|
@ -51,26 +49,23 @@ 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>
|
||||
<chart:SfCircularChart>
|
||||
<chart:SfCircularChart.Series>
|
||||
<chart:DoughnutSeries ItemsSource="{Binding Data}" DoughnutCoefficient="0.7" XBindingPath="Product" YBindingPath="SalesRate" />
|
||||
</chart:SfCircularChart.Series>
|
||||
</chart:SfCircularChart>
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
{% highlight c# %}
|
||||
|
||||
SfCircularChart chart = new SfCircularChart();
|
||||
DoughnutSeries series = new DoughnutSeries();
|
||||
series.XBindingPath = "Product";
|
||||
series.YBindingPath = "SalesRate";
|
||||
series.DoughnutCoefficient = 0.7;
|
||||
|
||||
DoughnutSeries series = new DoughnutSeries();
|
||||
series.XBindingPath = "Product";
|
||||
series.YBindingPath = "SalesRate";
|
||||
series.DoughnutCoefficient = 0.7;
|
||||
|
||||
chart.Series.Add(series);
|
||||
chart.Series.Add(series);
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
|
@ -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";
|
||||
|
|
Загрузка…
Ссылка в новой задаче