Closed ClumsyPenguin closed 3 years ago
This is an amazing and well-design library. But, don't do charts, they are way too complex to do right. Try adopting Plotly or Charts.JS and focus on the other things which make this lib unique.
It is indeed a well-designed library, but i think it would be advantage to implement complexer charting than it has at the moment.
If i introduce my app to an another external dependency it would be a disadvantage long term to maintain...
But i disagree to not implement it with this library. The blazor libraries that provide complex charting are merely wrappers around existing js libraries.
@ClumsyPenguin I agree. But I think doing a comprehensive pure Blazor/SVG charting is not easy without JS and probably very time consuming. So if you need complex charting you might have to take an external dependency for a while yet. Having said that the current implementation is lacking. If anyone wants to do a list of what they think are important but achievable features they are welcome but there's no guarantee it will be implemented.
I contacted @Garderoben to see if we can implement a basic bar chart.
Further suggestions are:
They don't have to be complex or feature-rich right of the bat, but having those options open will help the charting functionality of this library.
@mikes-gh @ClumsyPenguin its already possible, i havent documented it well enough yet.
This issue can be closed. It has been resolved with
<MudChart ChartType="ChartType.Line" ChartOptions="Options" ChartSeries="@Series" XAxisLabels="@XAxisLabels"></MudChart>
Options.YAxisTicks = 10;
Can i choose a data range for my x-axis on the line graph?
Currently it goes directly to 20, but i want also to see the numbers: 5,10 and 15.