You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very basic implementation at https://github.com/VisualMelon/oxyplot-fiddle/tree/BasicBlazor using the SVG Exporter (no plot interactivity). Would be possible to add PNG export using the ImageSharp APIs (for now its using 2.0). (blazor fiddle at /blazor.html)
I can't seem to get the scripting APIs to work in Blazor, but the existing code (from https://github.com/Suchiman/Runny) should hopefully be modifiable to allow the scripting syntax.
@objorke I think OxyPlot and Blazor behave quite well together. I will try to find a place to load an online demo within the next couple of days.
I think it is not too much work left, to get a good start. The main things left to do is implementing all other interactions Keyboard and Wheel. Also I have to find a way to supress the default reaction of the browser (e.g. opening up the context menu). This will require some Clientside Javascript (event though I tried to avoid that where possible).
Besides that I integrated the OxyPlot Example project into the repo and most them seem to work out of the box.
Activity
VisualMelon commentedon Oct 26, 2019
Very basic implementation at https://github.com/VisualMelon/oxyplot-fiddle/tree/BasicBlazor using the SVG Exporter (no plot interactivity). Would be possible to add PNG export using the ImageSharp APIs (for now its using 2.0). (blazor fiddle at
/blazor.html)I can't seem to get the scripting APIs to work in Blazor, but the existing code (from https://github.com/Suchiman/Runny) should hopefully be modifiable to allow the scripting syntax.
belucha commentedon Dec 1, 2019
I implement a sketch for a Blazor based Plotview that also handles some interactions. It's quite easy to use....
It's still not done, only mouse event interaction, but it's fantastic to use.
Just add as Blazor Component to your Blazor Page
https://github.com/belucha/oxyplot.blazor/blob/0a87dd0f1d4975105383d0ea74ba95f768247788/oxyplot-blazor/Pages/Index.razor#L8
objorke commentedon Dec 2, 2019
@belucha We would love to see a PR for OxyPlot.Razor in the core repository! Even if it is just a sketch and not feature complete.
belucha commentedon Dec 3, 2019
@objorke I think OxyPlot and Blazor behave quite well together. I will try to find a place to load an online demo within the next couple of days.
I think it is not too much work left, to get a good start. The main things left to do is implementing all other interactions Keyboard and Wheel. Also I have to find a way to supress the default reaction of the browser (e.g. opening up the context menu). This will require some Clientside Javascript (event though I tried to avoid that where possible).
Besides that I integrated the OxyPlot Example project into the repo and most them seem to work out of the box.
belucha commentedon Dec 4, 2019
.NET CORE 3.1 addresses the problem of default event propagation, so I will upgrade to 3.1.