Toggle navigation
2313412
By
s***丹
2020-01-15 01:58:38
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
option = { title: { text: 'Awesome Chart' }, xAxis: { data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] }, yAxis: {}, series: [{ type: 'line', data:[220, 182, 191, 234, 290, 330, 310] }] }; drop table cqjd_graph create table cqjd_graph as select a.join_key,a.id,a.hospitalname,a.chargedate,a.bmi_paid, a.ID||'_'||to_char(a.chargedate,'yyyymmdd') as subkey,to_char(a.chargedate,'yyyymmddHH24') as cday from (select join_key,id,hospitalname,chargedate,bmi_paid from guiyang_claim where bmi_paid>0) a inner join (select distinct join_key from guiyang_claim_detail where projecttype='1_m' and medtype='2_OS' and to_date(servicedate)>=to_date('2019-01-01','yyyy/mm/dd') and to_date(servicedate)
2) b on a.id=b.id drop table graph_edge create table graph_edge as select c.ID,c.ID2,c.hospitalname,c.cdate,c.cday1,c.cday2 from( select a.ID,a.HOSPITALNAME,a.cday as cday1,b.cday as cday2, a.tot_bmi, b.ID as ID2,a.cdate from cqjd_graphgroup a left join cqjd_graphgroup b on a.hospitalname=b.hospitalname and a.cdate=b.cdate) c where c.id<>c.id2 and (cday1-cday2)<=1 and (cday1-cday2)>=-1 select * from graph_edge drop table graph_triset create table graph_triset as select /*+parallel(20)*/ N1,N2,N3,cdate from( select greatest(a.ID,a.ID2,b.ID2) as N1,least(a.ID,a.ID2,b.ID2) as N2, a.ID+a.ID2+b.ID2-greatest(a.ID,a.ID2,b.ID2)-least(a.ID,a.ID2,b.ID2) as N3, a.cdate from graph_edge a left join graph_edge b on a.ID=b.ID and a.hospitalname=b.hospitalname and a.cdate=b.cdate where a.id<>b.id2 and a.id2<>b.id2 and (b.cday2-a.cday1)<=1 and (b.cday2-a.cday2)<=1 and (b.cday2-a.cday1)>=-1 and (b.cday2-a.cday2)>=-1 ) group by N1,N2,N3,cdate