Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141690 | Dec 27,2018 05:59 PM UTC | Dec 31,2018 11:02 AM UTC | ASP.NET MVC - EJ 2 | 1 |
![]() |
Tags: Chart |
@(Html.EJS().Chart("LineChart")
.LegendSettings(ls=>ls.ToggleVisibility(false)).Render()
)
function Series1Visibility(args) {
var index = 0;
ChartRefresh(index, args.checked);
}
function ChartRefresh(seriesIndex, seriesVisibility) {
var chartObj = document.getElementById('LineChart').ej2_instances[0];
chartObj.series[seriesIndex].visible = seriesVisibility;
chartObj.refresh();
}
|
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.