如何关闭 Telerik 图表控件的空值近似
我正在使用 Telerik rad 图表控件创建基于日期的数据的条形图。 x 轴显示每个数据点的日期。 y 轴显示一些总数。
当我的数据源中没有特定日期的数据时,图表仍显示日期,但没有条形图。
我认为这属于“空序列近似”功能。有什么办法可以关掉这个功能吗?需要设置一些属性或属性组合?
谢谢。
I am using the Telerik rad chart control to create a bar chart of date-based data. The x-axis shows the date for each data point. The y-axis shows some total.
When there is no data in my datasource for a particular date, the chart is still showing a date, but no bar.
I think this falls under the "empty series approximation" functionality. Is there any way of turning this off? Some property or combination of properties that need to be set?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实现此目的的一种方法是在 SeriesMapping 中使用 xcategories 而不是 xvalues。检查示例:
我希望它有所帮助。
One way of doing this is using xcategories instead of xvalues in your SeriesMapping. Check the sample:
I hope it helps.