Skip to content
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

Using Multiple Graphic Single View in ChartJSCore #79

Open
kbrmumcu opened this issue Apr 20, 2022 · 0 comments
Open

Using Multiple Graphic Single View in ChartJSCore #79

kbrmumcu opened this issue Apr 20, 2022 · 0 comments

Comments

@kbrmumcu
Copy link

Hi,

`

@{ChartJSCore.Models.Chart chart = (ChartJSCore.Models.Chart)ViewData["chart"];}

<script src="~/Chart.js/chart.js"></script> <script> @Html.Raw(chart.CreateChartCode("lineChart")); </script>

@{ ChartJSCore.Models.Chart chartPie = (ChartJSCore.Models.Chart)ViewData["piechart"];}

<script> @Html.Raw(chartPie.CreateChartCode("pieChart")); </script>

/* In Page is viewing two pie chart but should be one linechart and one one piechart. How do I make? */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant