Posted 17 June 2019, 7:43 am EST
I am working in an MVC Core 2.2 application and have added following chart;
var viewData = new wijmo.collections.CollectionView(data);
var receiptsChart = new wijmo.chart.FlexChart(‘#receiptsChart’,
{
itemsSource: viewData,
bindingX: ‘day’,
series: [
{ binding: ‘amtDueByDay’, name: ‘Due by day’ },
{ binding: ‘amtExpectedByDay’, name: ‘Expected by day’ }
],
palette: wijmo.chart.Palettes[‘cocoa’]
});
receiptsChart.series[1].SeriesVisibility.Hidden;
Initially I want to hide series 1 using the code above which is not working and have not been able to find a solution. Please advise.
Thanks, Ed