简体   繁体   English

如何强制报告项目重叠?

[英]How to force report items to overlap?

I'm trying to create doughnut chart and insert label inside the chart's hole.我正在尝试创建圆环图并在图表的孔内插入标签。 When I render report, label is being moved outside the chart.当我呈现报告时,标签被移到图表之外。在此处输入图片说明

Is it possible to force report items to overlap instead of position it automaticaly?是否可以强制报告项目重叠而不是自动定位?

I was looking for an answer to this earlier!我之前一直在寻找这个问题的答案! I was trying to overlay a rectangle shape on to an image of a site-map.我试图将一个矩形形状叠加到站点地图的图像上。

Unfortunately the answer is no, due to the way that HTML renders objects: http://msdn.microsoft.com/en-us/library/dd255248.aspx不幸的是,由于 HTML 呈现对象的方式,答案是否定的: http : //msdn.microsoft.com/en-us/library/dd255248.aspx

Very old question, but page overlapping is supported in hard page break formats, such as PDF, or physical print of a report.很老的问题,但是硬分页符格式(例如 PDF 或报告的物理打印)支持页面重叠。 Essentially, any other format (such as HTML or the Report Builder tool) will move your items around the page, but if you export that same (non-overlapped) report to PDF, your items will be displayed as you intended, with overlapping items.本质上,任何其他格式(例如 HTML 或报表生成器工具)都会在页面上移动您的项目,但如果您将相同(非重叠)的报告导出为 PDF,您的项目将按您的预期显示,并带有重叠项目.

See here for further details 请参阅此处了解更多详情

You can "Add New Title" at the chart at set its position to "BottomCenter".您可以在图表中“添加新标题”将其位置设置为“底部中心”。 Right click the chart and select "Chart">"Add New Title".右键单击图表并选择“图表”>“添加新标题”。 Place the title bottom centered and resize the text将标题底部居中并调整文本大小

The result in Report Manager: Number within a chart报表管理器中的结果:图表中的数字

Overall Answer:总答:

Unfortunately, SSRS is not graphic, design, layer friendly.不幸的是,SSRS 不是图形、设计、层友好的。 The way it renders objects is based on it's boarders.它呈现对象的方式基于它的边界。 So overlapping is very difficult, time consuming and in most scenarios not possible.因此重叠非常困难、耗时且在大多数情况下是不可能的。 Unless you are good with VB programming you may be able to get by with custom code at the report properites -> Code window.除非您精通 VB 编程,否则您可以在报告属性 -> 代码窗口中使用自定义代码。 It's sad that powerpoint, word, excel natively have better design capabilities than SSRS.可惜powerpoint、word、excel本身就比SSRS有更好的设计能力。 Like who in their right mind would ever think that people only want to see data represented in a tablix or box.就像头脑正常的人会认为人们只想看到以 tablix 或框表示的数据。 SSRS <= 2012 native graphing options are a joke! SSRS <= 2012 原生图形选项是个笑话! ~ If you can use SSRS 2016, they may have fixed a lot of those customization options. ~ 如果您可以使用 SSRS 2016,他们可能已经修复了很多自定义选项。

What I have tried:我尝试过的:

Every possible combination/settings workarounds you can think of and unlimited coffee googling to the max.您可以想到的每种可能的组合/设置解决方法以及无限量的咖啡谷歌搜索。 If you are barely starting this journey to figure it out.如果你刚刚开始这个旅程来弄清楚它。 Let us save you hours of research and stress so you can meet your deadlines.让我们为您节省数小时的研究和压力,以便您可以按时完成任务。 Either build the design in broken up graphic portions (considering that SSRS will render based on borders).要么在分解的图形部分中构建设计(考虑到 SSRS 将基于边框呈现)。 If you can crop images do that as much as you can;如果您可以裁剪图像,请尽可能多地裁剪图像; I found Windows 10 Paint 3D to be very helpful with that, Out of everything I tried, cropping/breaking apart images was the best alternative to get a better level of customization .我发现 Windows 10 Paint 3D 对此非常有帮助,在我尝试过的所有方法中,裁剪/拆分图像是获得更好自定义水平的最佳选择

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

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