Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143359 | Mar 15,2019 02:22 PM UTC | Mar 18,2019 08:56 AM UTC | ASP.NET Core - EJ 2 | 1 |
![]() |
Tags: Charts |
[ChartFeatures.cshtml]
<ejs-accumulationchart id="pieChart">
<e-accumulation-series-collection>
<e-accumulation-series>
<e-accumulationseries-datalabel visible="true" name="text"></e-accumulationseries-datalabel>
</e-accumulation-series>
</e-accumulation-series-collection>
</ejs-accumulationchart>
[ChartController.cs]
List<LineChartData> chartData = new List<LineChartData>
{
new LineChartData { xValue = "X1", yValue = 21, text = "X1 Data" },
//...
};
ViewBag.dataSource = chartData;
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.