找回密码
 立即注册

QQ登录

只需一步,快速开始

baimei2100

初级会员

6

主题

18

帖子

206

积分

初级会员

积分
206
baimei2100
初级会员   /  发表于:2017-6-23 17:37  /   查看:6776  /  回复:15
本帖最后由 baimei2100 于 2017-6-23 17:39 编辑

我要的是效果图的样子。
可是我做出来的差好多。
怎么也弄不成效果图的样子。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

15 个回复

倒序浏览
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2017-6-29 11:08:04
推荐
本帖最后由 Lenka.Guo 于 2017-6-29 11:10 编辑

1. 选择图表数据对话框,删除系列标签


2. 可以尝试选择X轴,然后设置Format属性


3. 在HTML5Viewer 可以显示提示,具体设置参考博客:
http://blog.gcpowertools.com.cn/post/Tooltips-Chart.aspx
4. 新问题开新帖哦,要不然帖子太多了不便于后期查找


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

评分

参与人数 1满意度 +5 收起 理由
baimei2100 + 5 很给力!

查看全部评分

回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2017-6-23 18:08:16
沙发
这跟数据有关系,您了解下折线图的数据绑定:http://gcdn.gcpowertools.com.cn/ ... &extra=page%3D1
回复 使用道具 举报
baimei2100
初级会员   /  发表于:2017-6-26 09:26:16
板凳
这个视频我看了,可是我怎么设置也做不出效果图的样子
回复 使用道具 举报
baimei2100
初级会员   /  发表于:2017-6-26 10:59:47
地板
附件的样式,x轴是月份,Y轴是数量的Total,系列分组是年,但是15年与16年的数据是分开显示的,和效果图的样子不一样。
要怎么让两年的数据是重叠在一起?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2017-6-26 11:35:38
5#
首先请您提供下您的数据源结构,数据源结构很重要。
回复 使用道具 举报
baimei2100
初级会员   /  发表于:2017-6-26 13:24:29
6#
Lenka.Guo 发表于 2017-6-26 11:35
首先请您提供下您的数据源结构,数据源结构很重要。

一个是数据源结构,一个是显示的报表。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2017-6-26 20:27:42
7#
这个数据源的问题,建议把月份整合到一个字段里面,然后绑定到X轴
回复 使用道具 举报
baimei2100
初级会员   /  发表于:2017-6-27 09:08:41
8#
本帖最后由 baimei2100 于 2017-6-27 09:09 编辑

下面是我的数据集语句,具体要怎么修改?

SELECT  YEAR(oos_shippeddate) as 'Year', oos_productalias as 'Item',
       sum(case when  month(oos_shippeddate)=1 then oos_realqty else 0 end ) as 'Jan',  
       sum(case when  month(oos_shippeddate)=2 then oos_realqty else 0 end ) as 'Feb',   
       sum(case when  month(oos_shippeddate)=3 then oos_realqty else 0 end ) as 'Mar',   
       sum(case when  month(oos_shippeddate)=4 then oos_realqty else 0 end ) as 'Apr',   
       sum(case when  month(oos_shippeddate)=5 then oos_realqty else 0 end ) as 'May',   
       sum(case when  month(oos_shippeddate)=6 then oos_realqty else 0 end ) as 'Jun',   
       sum(case when  month(oos_shippeddate)=7 then oos_realqty else 0 end ) as 'Jul',   
       sum(case when  month(oos_shippeddate)=8 then oos_realqty else 0 end ) as 'Aug',   
       sum(case when  month(oos_shippeddate)=9 then oos_realqty else 0 end ) as 'Sep',   
       sum(case when  month(oos_shippeddate)=10 then oos_realqty else 0 end ) as 'Oct',   
       sum(case when  month(oos_shippeddate)=11 then oos_realqty else 0 end ) as 'Nov',   
       sum(case when  month(oos_shippeddate)=12 then oos_realqty else 0 end ) as 'Dec',                             
       sum(oos_realqty) as 'Total',
       (sum(oos_realqty) /(case when sum(case when  month(oos_shippeddate)=1 then oos_realqty else 0 end )>0 then 1 else 0 end +  
                           case when sum(case when  month(oos_shippeddate)=2 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=3 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=4 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=5 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=6 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=7 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=8 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=9 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=10 then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=11then oos_realqty else 0 end )>0 then 1 else 0 end +
                                                   case when sum(case when  month(oos_shippeddate)=12 then oos_realqty else 0 end )>0 then 1 else 0 end)) as MonthlyAverage
       FROM   Tbl_D_ProduceOrder
       WHERE Year (oos_shippeddate)>2014 and Year(oos_shippeddate)  like '%'
group by  oos_productalias,Year(oos_shippeddate)
order by Year,Item asc
回复 使用道具 举报
Lenka.Guo讲师达人认证 悬赏达人认证
超级版主   /  发表于:2017-6-27 09:41:50
9#
数据结构参考,将月份汇总成一列,然后直接为X轴绑定【月份列】,否则每个月份是单独的一列,每个月份都要绑定到X轴,这样各月份之间就无关系:


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
baimei2100
初级会员   /  发表于:2017-6-27 16:59:57
10#
我用矩表重新做了一张表,月份可以横向展开。但是产品为什么只显示一个,其他的怎么不显示呢?
我用SQL查询是可以显示的。是我矩表那个地方设定有问题吗?

下面是我的语句
select  Year(oos_shippeddate) as Year, month(oos_shippeddate) as [month], oos_productalias as Item, SUM(oos_realqty) as qty
       FROM   Tbl_D_ProduceOrder
        WHERE  Year(oos_shippeddate) like  @Year  and oos_printshopid like @PrintShop  and Category like @Category
  and oos_productid like  @Item
group by Year(oos_shippeddate), month(oos_shippeddate),oos_productalias
  order by Year, month,oos_productalias

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部