How we can hide the grid lines in ChartJS widget without hiding all the other axis information? Regards, Stefano Gruni
Hi Stefano,
I’ll log an enhancement to add the gridLines property configuration to Options. This will let you set the visibility of the gridlines for each axis.
In the meantime, you can use this as a workaround:
private void chartJS1_Appear(object sender, EventArgs e) { this.chartJS1.Eval("this.chart.options.scales.xAxes[0].gridLines.display = false"); this.chartJS1.Eval("this.chart.options.scales.yAxes[0].gridLines.display = false"); this.chartJS1.Eval("this.chart.update()"); }
I’ll keep you updated on the status of the enhancement!
Best,
Levie
Hi Stefano,
this enhancement is now available in Wisej 2.2.36.
Best regards
Frank
Hi Stefano,
We’ve finished the enhancement and it will be available for the next build.
We’ve added all the grid line configuration options available here: https://www.chartjs.org/docs/latest/axes/styling.html
Please let me know if you have any questions or issues!
Best,
Levie
Please login first to submit.