-
-
Notifications
You must be signed in to change notification settings - Fork 534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazorise.Charts and ChartJs.Blazor #1454
Comments
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 Since you're not interested in going forward with 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! |
Thank you. To be honest, I'm about equally interested in continuing with 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 |
@Joelius300 : Note that the issue for serialization was more or less solved by this code: |
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.
Easing
,FontStyle
, etc. are all typed with custom enums (calledStringEnum
) which basically implement the "type-safe enum pattern" and thus aren't as nice to use as standard C# enums but are extendable and make much less trouble for serialization.FillingMode
but may have different types use theObjectEnum
which is the more open alternative toStringEnum
and has similarities to discriminated unions. These make the use of those options much nicer.IndexableOptions
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? 😄
Ps and note to self: If we're doing something big here, maybe do something for non-blazor users as well.
The text was updated successfully, but these errors were encountered: