简体   繁体   English

SQL Server报告服务图表报告

[英]SQL Server Reporting services chart report

在此处输入图片说明 I currently have a dataset with the columns API50 , Counter Value and DBName . 我目前有一个包含API50Counter ValueDBName列的数据集。 The values for example are something as below. 例如,值如下。

API50    CounterValue  DBName
34.5       1            Test1
44.5       25           Test1
34.5       42           Test1
54.5       67           Test1
34.5       76           Test1
94.5       88           Test1
14.5       99           Test1

I have created a chart report and selected my X axis as CounterValue my Y axis as API50 . 我创建了一个图表报告,并将X轴选择为CounterValue Y轴选择为API50

The report is plotted correctly and my Y axis goes only upto 99. 该报告已正确绘制,并且我的Y轴仅上升到99。

Is there anyway I can have my X axis as 50 point increments till 600 (eg, 0, 50, 100, 150...and so on till 600) and plot the counter value? 无论如何,我可以将我的X轴以50个点的增量递增到600(例如0、50、100、150 ...依此类推,直到600)并绘制计数器值?

Any help is greatly appreciated. 任何帮助是极大的赞赏。

Creating a basic chart with your sample data: 使用示例数据创建基本图表:

在此处输入图片说明

Gets the same result you have described, ie the X Axis just goes up to the maximum CounterValue value or so: 获得与您描述的相同的结果,即X轴刚好达到最大CounterValue值左右:

在此处输入图片说明

You need to update the X Axis properties: 您需要更新X轴属性:

在此处输入图片说明

Here I've updated: 我在这里更新了:

  • List item 项目清单
  • Maximum 最大值
  • Interval 间隔
  • Interval Type 间隔类型

I've also checked the Scalar Axis value - this is most important otherwise the above values won't work properly. 我还检查了标量轴值-这是最重要的,否则上述值将无法正常工作。

Now you can see the change in the designer: 现在您可以在设计器中看到更改:

在此处输入图片说明

And the end result has your axis requirements: 最终结果符合您的轴要求:

在此处输入图片说明

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

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