-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add "plotly-basic.min.js" to the project. #212
Comments
Is it feasible to simply add plotly-latest.min.js (version matched to Plotly.Blazor's built-in version) to wwwroot and replace the javascript import to point to the minimal version? |
Should be possible I guess |
@sean-mcl : Thanks for the prompt reply. The reason I asked, because I tried it out and seemed to work. Would you consider this hack safe? :) |
Well, it is safe, as long as of course only what is available in the slimmed down version is used. That's why I don't have any concerns, as long as you know what you're doing. 😄 |
Thanks! |
#432 introduces a new property UseBasicVersion to the PlotlyChart-Component. It will automatically lazy load the basic minified instead of the full version. |
Currently, this NuGet package bundles the "plotly-latest.min.js", I would like to use the "plotly-basic.min.js" script as its much smaller in size.
The text was updated successfully, but these errors were encountered: