Microsoft 图表控件:标记多个 y 值和变量 y 轴?
我目前正在使用 Microsoft Chart Controls 生成箱线图。我已启用图表系列的 IsValueShownAsLabel 属性,但仅标记第一个 y 值(下部须线)值。有没有办法启用图表中所有 y 值的标签?
另外,有没有办法为每个数据点获取不同的轴?图表的不同数据点在值范围方面不相关,因此图表上的许多 y 值较小的数据点难以读取。我目前已启用滚动作为解决方法,但对结果不满意。相反,我希望每个数据点有一个不同的 y 轴,以便每个数据点的 y 值占据图表的整个高度,最小和最大须线值作为 y 轴最小值,最大点数。这可能吗?
I am currently using Microsoft Chart Controls to generate a box plot chart. I have enabled the IsValueShownAsLabel property of the chart's series, but only the first y-value(lower whisker) value is being labeled. Is there a way to enable the labeling of all y-values in the chart?
Also, is there a way to get a different axis for each data point? The different data points of the chart are not related when it comes to value ranges, so many data points with small y-values are difficult to read on the chart. I have currently enabled scrolling as a workaround, but am not satisfied with the result. I would instead like to have a different y-axis for each data point, so that the y-values for each data point take up the full height of the chart, with the min and max whisker values serving as the y-axis minimum and maximum points. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要获得不同的轴,您需要查看 AxisY 下的 ScaleBreakStyle 下的属性,
设置类似
不确定如何获取多个值,但您可以尝试将这些值专门设置为这些格式的标签
#VALY1,#VALY2
取决于可用 Y 值的数量。To get different axis you will need to look into the properties under
ScaleBreakStyle
under AxisYSet something like
Not sure on how to get multiple values but can you try setting those values specifically to the labels in these format
#VALY1,#VALY2
depending on the number of Y values available.