如何将 amChart(股票图表)绑定到 DataTable?
通过将 LineChartGraph
的成员 DataItemsSource
分配给 mytable.DefaultView
,我成功地将 amChart 折线图绑定到 DataTable。
我正在尝试对 amChart 股票图表做同样的事情。但是,Graph
对象没有 DataItemsSource
。相反,它有一个 DataSetID
成员,该成员指向定义为 StockChart
控件一部分的 DataSet
。无论如何...有什么建议吗?
谢谢!
I've managed to bind an amChart Line Chart to a DataTable by assigning the member DataItemsSource
of the LineChartGraph
to mytable.DefaultView
.
I'm trying to do the same with an amChart Stock Chart. However the Graph
object does not have a DataItemsSource
. It has instead a DataSetID
member that points to a DataSet
defined as part of the StockChart
control. Anyways... Any suggestion?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过一番尝试和错误后,结果证明您可以将 ItemsSource 绑定到 DataTable。从我收到的回复数量来看...似乎没有多少人使用此控件。令人惊讶的是它绝对很棒......而且免费。
After some trial and error, it turned out that you can bind ItemsSource to a DataTable. Judging by the number of responses I've gotten... it looks like not that many people use this control. It's surprising b/c it's absolutely great.. and free.