水晶报表 X轴自定义时间格式方案
2012-06-07 17:01
316 查看
This solution can work for you ... IF ... you are able to design your report in the following fashion.
1 - Group on the date field you need.
2 - On the Insert Group screen after you have selected the date field, the third dropdown titled "The section will be printed" ... select "for each month".
3 - Click on the second tab of the Insert Group screen labeled "Options".
4 - Click the checkbox for "Customize Group Name Field".
5 - Select the second radio button labeled "Use a Formula as Group Name".
6 - Click the Conditional Format button to the right.
7 - Enter a formula like:
MonthName (Month ({Orders.Order Date}), True) &
'-' &
ToText (Year ({Orders.Order Date}), 0, '')
8 - Click OK to accept the settings. 9 - Now add your chart. By grouping on the raw field, your chart elements will remain sorted on the numeric elements (the dates), but their labels will be in the format you requested in your posting.
相关文章推荐
- 水晶报表(CrystalReport)自定义纸张格式(custom Papersize)的实现
- 【水晶报表小技巧-使用-3】 自定日期时间格式输出
- 水晶报表(CrystalReport)自定义纸张格式(custom Papersize)的实现
- 水晶报表中如何创建自定义的纸张大小格式?
- 自定义 WordPress 时间显示格式
- iOS- NSDateFormatter (自定义时间格式)
- rdlc报表的时间格式
- 水晶报表使用自定义纸张 发布解决方案 .
- 水晶报表自定义纸张大小打印 (转)
- [Java]获取自定义格式的时间
- [技术] 在水晶报表(Crystal Report)中时间日期显示的问题
- 水晶报表导出文件的格式设置
- 自定义EasyUI的datetimebox控件日期时间的显示格式(转)
- 自定义水晶报表的显示
- GridView控件实现自定义数字、时间、货币字符串格式
- QTP获取系统时间并自定义格式
- 自定义水晶报表的外观
- Linux ls 自定义时间显示格式
- 自定义jackson解析时间格式yyy-MM-dd HH:mm:ss
- 封装日期时间自定义格式方法