Skip to content

Updated Accumulation Chart UG documentation #3093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 30 additions & 10 deletions ej2-asp-core-mvc/accumulation-chart/EJ2_ASP.NETCORE/annotation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: Annotation in ##Platform_Name## Accumulation Chart Component
title: Annotation in ##Platform_Name## Accumulation Chart Component | Syncfusion
description: Learn here all about Annotation in Syncfusion ##Platform_Name## Accumulation Chart component of Syncfusion Essential JS 2 and more.
platform: ej2-asp-core-mvc
control: Annotation
Expand All @@ -9,7 +9,7 @@ documentation: ug
---


# Annotation
# Annotation in ##Platform_Name## Accumulation Chart Component

The annotations are used to mark the specific area of interest in the chart area with texts, shapes or images.

Expand All @@ -23,8 +23,13 @@ By using the <code>content</code> option of annotation property, you can specify
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/annotation/annotation/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Annotation.cs" %}
{% include code-snippet/chart/accumulation-charts/annotation/annotation/annotation.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Share reason to change inline code block

Copy link
Contributor Author

@Backiaraj Backiaraj Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rajendranr-5483 ,

Because, Annotation.cs class is used in both platforms (Core and MVC). I checked only core platform. So, i added code snippet inside here.

Also, some codebehind file is mentioned like below,

var opt=new Games().GamesList(); --> in documentation only mentioned this. Not include data inside this method.

Refer below,
image

Regards,
@Backiaraj

public class PieChartData
{
public string xValue;
public double yValue;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variable casing is incorrect

}
{% endhighlight %}
{% endtabs %}

Expand Down Expand Up @@ -52,8 +57,13 @@ The annotation can be placed with respect to either `Series` or `Chart`.
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/annotation/region/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Region.cs" %}
{% include code-snippet/chart/accumulation-charts/annotation/region/region.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string x;
public double y;
}
{% endhighlight %}
{% endtabs %}

Expand Down Expand Up @@ -81,8 +91,13 @@ Specifies the coordinate units of an annotation either in `Pixel` or `Point`.
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/annotation/co-ordinate/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Co-ordinate.cs" %}
{% include code-snippet/chart/accumulation-charts/annotation/co-ordinate/co-ordinate.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string x;
public double y;
}
{% endhighlight %}
{% endtabs %}

Expand Down Expand Up @@ -110,8 +125,13 @@ The annotations can be moved vertically and horizontally from its default positi
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/annotation/alignment/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Alignment.cs" %}
{% include code-snippet/chart/accumulation-charts/annotation/alignment/alignment.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string x;
public double y;
}
{% endhighlight %}
{% endtabs %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ Using [`centerLabel`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.E
{% include code-snippet/chart/accumulation-charts/chart-print/centerlabel/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Centerlabel.cs" %}
{% include code-snippet/chart/accumulation-charts/chart-print/centerlabel/centerlabel.cs %}
...
public class PieChartData
{
public string x;
public double y;
public string text;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -31,8 +37,14 @@ The default text in the center label can be changed when the mouse pointer hover
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/chart-print/hovertext/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Hovertext.cs" %}
{% include code-snippet/chart/accumulation-charts/chart-print/hovertext/hovertext.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string x;
public double y;
public string text;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -44,8 +56,14 @@ Customize the center label text using the [`textStyle`](https://help.syncfusion.
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/chart-print/customization/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Customization.cs" %}
{% include code-snippet/chart/accumulation-charts/chart-print/customization/customization.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string x;
public double y;
public string text;
}
{% endhighlight %}
{% endtabs %}

Expand Down
121 changes: 99 additions & 22 deletions ej2-asp-core-mvc/accumulation-chart/EJ2_ASP.NETCORE/data-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ Data label can be added to a chart series by enabling the [`visible`](https://h
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/default/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Default.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/default/default.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -30,8 +37,15 @@ Accumulation chart provides support for placing the data label either `inside` o
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/position/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Position.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/position/position.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -43,8 +57,15 @@ Data labels will be arranged smartly without overlapping with each other. You ca
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/smartlabels/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Smartlabels.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/smartlabels/smartlabels.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -56,8 +77,15 @@ Label content can be formatted by using the template option. Inside the template
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/template/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Template.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/template/template.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -69,8 +97,15 @@ Connector line will be visible when the data label is placed `outside` the chart
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/connector/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Connector.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/connector/connector.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -83,8 +118,15 @@ Text from the data source can be mapped to data label using `name` property.
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/map/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Map.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/map/map.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -97,8 +139,15 @@ Data label for the accumulation chart can be formatted using [`format`](https://
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/format/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="format.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/format/format.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand Down Expand Up @@ -167,8 +216,15 @@ Individual text can be customized using the `textRender` event.
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/custom/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Custom.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/custom/custom.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -180,8 +236,15 @@ When the data label text exceeds the container, the text can be wrapped by using
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/textwrap/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Textwrap.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/textwrap/textwrap.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string x;
public double y;
public string text;
public string tooltipMappingName;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -197,8 +260,15 @@ You can customize the data label of pie chart using [TextRender](https://help.sy
{% highlight razor tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/percentage/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Percentage.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/percentage/percentage.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand All @@ -210,8 +280,15 @@ You can display the percentage values in data label of pie chart using `template
{% highlight razor tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/datalabel/template-percentage/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Template-percentage.cs" %}
{% include code-snippet/chart/accumulation-charts/datalabel/template-percentage/template-percentage.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class PieChartData
{
public string xValue;
public double yValue;
public string text;
public string fill;
}
{% endhighlight %}
{% endtabs %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: Empty Points in ##Platform_Name## Accumulation Chart Component
title: Empty Points in ##Platform_Name## Accumulation Chart Component | Syncfusion
description: Learn here all about Empty Points in Syncfusion ##Platform_Name## Accumulation Chart component of Syncfusion Essential JS 2 and more.
platform: ej2-asp-core-mvc
control: Empty Points
Expand All @@ -9,7 +9,7 @@ documentation: ug
---


# Empty Points
# Empty Points in ##Platform_Name## Accumulation Chart Component

The data points those uses the `null` or `undefined` as value are considered as empty points. The empty data points are ignored and not plotted in the chart. You can customize those points, using the `emptyPointSettings` property in series. The default mode of the empty point is `Gap`. Other supported modes are `Average` and `Zero`.

Expand All @@ -19,8 +19,13 @@ The data points those uses the `null` or `undefined` as value are considered as
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/empty-points/empty/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Empty.cs" %}
{% include code-snippet/chart/accumulation-charts/empty-points/empty/empty.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class EmptyPointsChartData
{
public string xValue;
public Nullable<double> yValue;
}
{% endhighlight %}
{% endtabs %}

Expand Down Expand Up @@ -48,8 +53,13 @@ Specific color for an empty point can be set by using the `fill` property in `em
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/chart/accumulation-charts/empty-points/custom/tagHelper %}
{% endhighlight %}
{% highlight c# tabtitle="Custom.cs" %}
{% include code-snippet/chart/accumulation-charts/empty-points/custom/custom.cs %}
{% highlight c# tabtitle="CSHTML.cs" %}
...
public class EmptyPointsChartData
{
public string xValue;
public Nullable<double> yValue;
}
{% endhighlight %}
{% endtabs %}

Expand Down
Loading