How do I add multiple series to a Razor Helper Chart?

纵饮孤独 提交于 2019-12-12 03:39:47

问题


http://www.asp.net/webmatrix/tutorials/7-displaying-data-in-a-chart goes over how to create simple charts and they are working, but I can't seem to figure out how to add two data series (from two separate DB queries) to the same chart.


回答1:


Have you tried calling the AddSeries() method twice, once for each database?



来源:https://stackoverflow.com/questions/4868590/how-do-i-add-multiple-series-to-a-razor-helper-chart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!