Misfits-Rebels-Outcasts / Blazor-Charts

SVG Charts for Blazor and WebAssembly
https://www.webassemblyman.com/blazor/blazorcharts.html
MIT License
78 stars 18 forks source link

Passing Dynamic Value into Chart #3

Open robmctague opened 4 years ago

robmctague commented 4 years ago

Hi,

Does your library support passing dynamic values into the charts? The examples just show static data.

Thanks.

mcooke-mdkl commented 3 years ago

VerticalBarChart InputData="@data" InputLabels="App Store,Website,Partners,Direct,Channels,Retail,Distributors,Affiliates,Phone,TV"> </VerticalBarChart

string data = "30,70,42,50,3,55,35,22,10,5";

Amend the data string as needed and then refresh

*Note: I removed out the opening < and closing > of the html, so it displayed.