erossini / BlazorChartjs

Creates beautiful charts in Blazor using Chart.js. Library for NET6, NET7 and NET8. Source code and demo available.
https://www.puresourcecode.com/dotnet/blazor/blazor-component-for-chartjs/
MIT License
116 stars 44 forks source link

Ability to set PointStyle to false to hide points. #54

Open legendarydrew opened 11 months ago

legendarydrew commented 11 months ago

Is your feature request related to a problem? Please describe. When trying to configure a line chart to hide the points, I am limited to the properties in PSC.Blazor.Components.Chartjs.Models.Common.PointStyle. Trying to set PointStyle to false results in a compilation error.

Describe the solution you'd like Either the ability to set PointStyle to false, or add PointStyle.None.

Describe alternatives you've considered none

Additional context https://www.chartjs.org/docs/latest/configuration/elements.html#point-styles