Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.25k stars 528 forks source link

Blazorise.Charts and ChartJs.Blazor #1454

Closed Joelius300 closed 3 weeks ago

Joelius300 commented 3 years ago

Heyo Blazorise

I'm the maintainer of ChartJs.Blazor which is basically a stand-alone version of Blazorise.Charts if I understand correctly.

I just released version 2.0 and now the future is uncertain because our situation isn't great.

I opened this issue just to ask openly how you would feel about a collaboration.
Having worked on ChartJs.Blazor for over a year now, I have learned some things about issues you've surely encountered as well. The most obnoxious being that you cannot customize the serializer used in IJSRuntime and thus you can't avoid null values without some crazy workaround.

Here are some of the most notable difference that I found:
Disclaimer: I have not used Blazorise.Charts myself, I only looked at the code and the docs.

I'm sure there's more but I think both ChartJs.Blazor and Blazorise.Charts try to achieve more or less the same.

I have no specific idea in mind and this is just a really open question but I think it's worth bringing it up here. It was brought to my attention in this comment.

So what do you think? :smile:

Ps and note to self: If we're doing something big here, maybe do something for non-blazor users as well.

stsrki commented 3 years ago

Hi @Joelius300 thank you for reaching out. I have read your comments and your story so far and I can only imagine how difficult your journey was.

Now regarding collaboration, I'm always open to it. To tell you the truth, a long time ago Blazorise.Charts was actually inspired by ChartJs.Blazor. So there are some similarities in how they both work. But over time, naturally, they both go a different route. We both have some features that are available in one library, or some that lack.

Since you're not interested in going forward with ChartJs.Blazor I think the best option would be to continue work on Blazorise.Charts and implement some missing features, or transfer some that are good to have. Obviously, there would be a lot of work involved.

Who would do all the work? The best choice would be you, as you already have more than enough experience. And you already know all the pitfalls. So just let me know if you want to join us. I would really like it if you do :)

Br!

Joelius300 commented 3 years ago

Thank you.

To be honest, I'm about equally interested in continuing with ChartJs.Blazor as I'm interested in Blazor. I'm more of a backend-guy anyway and recently I've tried getting into Angular and Vue but Blazor is still too young for me (especially since I'm still just getting into frontend). There's a high chance that I'll come back to it when .NET 6 releases but probably not before then.

So unfortunately, I don't think I'm interested in doing this migration. I'm open for discussions, happy to assist and may contribute a feature here and there but probably not more than that.

However, I think there's still a lot to take away from this collaboration.

I feel like that's not how you use lists but I hope it got my points across 😄

Do you think you'd still want to work with ChartJs.Blazor even if I wouldn't be the one doing all the work?
Since I'm familiar with many of the pitfalls and the internals of ChartJs.Blazor, I'd definitely be there to help if there are struggles while doing this.

StefH commented 3 years ago

@Joelius300 : Note that the issue for serialization was more or less solved by this code: https://github.com/stsrki/Blazorise/blob/93c016408b7a0f12b9014c6fc7dcdd779f8cbf6c/Source/Blazorise/Utils/Converters.cs