简体   繁体   English

如何使SSRS 2008 R2远程条形图始终显示数据标签?

[英]How do I make a SSRS 2008 R2 Ranged Bar Chart always show data labels?

I am working on a Range Bar Chart in SSRS 2008 R2 that is configured to look something like a Gantt Chart. 我正在处理SSRS 2008 R2中的范围条形图,该条形图被配置为类似于甘特图。 The Data set looks like: 数据集如下所示:

Metric | 公制| Date-plot-1 | 日期图1 | ... | ... | Date-plot-n 日期图

My problem comes in with null values in Date-plot1. 我的问题来自Date-plot1中的空值。 If my report dataset returns a data value, I see the date labels on the bottom of the chart. 如果我的报告数据集返回一个数据值,我将在图表底部看到日期标签。 If that particular field is null, I either get no data labels, or "MM/dd/yyyy" (which is the formatting string I am applying to the dates). 如果该特定字段为null,则不会获得数据标签,也不会得到“ MM / dd / yyyy”(这是我应用于日期的格式字符串)。

Unfortunately, due to this being a data-quality report there can/will be NULL values in any/all of the columns. 不幸的是,由于这是一个数据质量报告,因此任何/所有列中都可以/将有NULL值。 How can I get the axis label to display even if the first date plot is null? 即使第一个日期图为空,如何显示轴标签?

what do you expect the values on the y axis to fall into if the X is null? 如果X为空,您希望y轴上的值落入什么?

Nevertheless, I would deal with the null on the data source. 不过,我将处理数据源中的null。 Make it whatever value you answered my first question :) 使它成为您回答我的第一个问题的价值:)

If not possible, try to select the scale of the chart and see properties related with interval like intervalOffset. 如果不可能,请尝试选择图表的比例,并查看与间隔相关的属性,例如intervalOffset。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM