{"repo":"LayTec-AG/Plotly.Blazor","free":true,"listed":false,"github":"https://github.com/LayTec-AG/Plotly.Blazor","clone":"git clone https://github.com/LayTec-AG/Plotly.Blazor.git","description":"This library packages the well-known charting library plotly.js into a razor component that can be used in a Blazor project.","language":"C#","stars":431,"topics":["blazor","plotly","charting-library","data-visualization","webgl","charts","visualization","dotnet","aspnet","aspnetcore"],"license":"MIT","category":"analytics","readme_excerpt":"Plotly.Blazor This library packages the well-known charting library plotly.js into a Razor component that can be used in a Blazor project. The advantage of this wrapper is that the plotly scheme itself is used to generate the classes. So you can automatically update to the latest plotly.js version with the help of the generator. Getting Started Prerequisites To create Blazor Server Apps, install the latest version of Visual Studio with the ASP.NET and web development workload. Another alternative would be to use Visual Studio code. Click here for more information. Plotly.Blazor with version = 7.0.0 requires .NET 8 or higher. Plotly.Blazor with version = 2.0.0 requires .NET 6 or higher. Installing After you have created your Blazor project, you need to do the following steps: Install the latest NuGet Package Using Package Manager Using .NET CLI Add the following lines to your Imports.razor Now we're ready to go! :tada: Usage Create the Razor component Info: The chart reference is important so that we can update the chart later. To temporarily hide a chart without disposing it, use the Hidden parameter instead of conditional rendering: The component reference remains valid while hidden. The chart refreshes automatically when it becomes visible again. Generate some initial data for your plot. Generate some additional data for your plot. Examples Here you can find a running instance of the examples. This is always up-to-date with the current state of the develop branch. What it m","default_branch":null,"files":null,"tree":[],"storefront":"/r/LayTec-AG","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LayTec-AG/Plotly.Blazor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}