跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
天灾之下:危险连接官网(建设中)
天灾之下:危险连接QQ群
天灾之下:危险连接 Bilibili
冰糖服务器
冰糖服务器QQ群
天灾之下:危险连接资料站
搜索
搜索
中文(中国大陆)
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁模板:Graph:WindRose”︁的源代码
模板
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
[[雷光]]
外观
移至侧栏
隐藏
←
模板:Graph:WindRose
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{#tag:graph|{ "width": 200, "height": 200, "data": [ { "name": "16directions", "values": [ {"d":"N","r":1}, {"d":"NNE","r":2}, {"d":"NE","r":3}, {"d":"ENE","r":4}, {"d":"E","r":5}, {"d":"ESE","r":6}, {"d":"SE","r":7}, {"d":"SSE","r":8}, {"d":"S","r":9}, {"d":"SSW","r":10}, {"d":"SW","r":11}, {"d":"WSW","r":12}, {"d":"W","r":13}, {"d":"WNW","r":14}, {"d":"NW","r":15}, {"d":"NNW","r":16} ] }, { "name": "table", "values": [ //the ordinal scema {"dir":"N","speed":1,"time":{{{N1|0}}}},{"dir":"NNE","speed":1,"time":{{{NNE1|0}}}}, {"dir":"NE","speed":1,"time":{{{NE1|0}}}},{"dir":"ENE","speed":1,"time":{{{ENE1|0}}}}, {"dir":"E","speed":1,"time":{{{E1|0}}}},{"dir":"ESE","speed":1,"time":{{{ESE1|0}}}}, {"dir":"SE","speed":1,"time":{{{SE1|0}}}},{"dir":"SSE","speed":1,"time":{{{SSE1|0}}}}, {"dir":"S","speed":1,"time":{{{S1|0}}}},{"dir":"SSW","speed":1,"time":{{{SSW1|0}}}}, {"dir":"SW","speed":1,"time":{{{SW1|0}}}},{"dir":"WSW","speed":1,"time":{{{WSW1|0}}}}, {"dir":"W","speed":1,"time":{{{W1|0}}}},{"dir":"WNW","speed":1,"time":{{{WNW1|0}}}}, {"dir":"NW","speed":1,"time":{{{NW1|0}}}},{"dir":"NNW","speed":1,"time":{{{NNW1|0}}}}, // ggg {"dir":"N","speed":1,"time":{{{N1|42}}}}, {"dir":"N","speed":2,"time":{{{N2|20}}}}, {"dir":"N","speed":3,"time":{{{N3|10}}}}, {"dir":"NNE","speed":1,"time":{{{NNE1|23}}}}, {"dir":"NNE","speed":2,"time":{{{NNE2|38}}}}, {"dir":"NNE","speed":3,"time":{{{NNE3|32}}}}, {"dir":"NE","speed":1,"time":{{{NE1|47}}}}, {"dir":"NE","speed":2,"time":{{{NE2|64}}}}, {"dir":"NE","speed":3,"time":{{{NE3|27}}}}, {"dir":"ENE","speed":1,"time":{{{ENE1|26}}}}, {"dir":"ENE","speed":2,"time":{{{ENE2|27}}}}, {"dir":"ENE", "speed":3,"time":{{{ENE3|16}}}}, {"dir":"E","speed":1,"time":{{{E1|52}}}}, {"dir":"E","speed":2,"time":{{{E2|79}}}}, {"dir":"E","speed":3,"time":{{{E3|38}}}}, {"dir":"ESE","speed":1,"time":{{{ESE1|19}}}}, {"dir":"ESE","speed":2,"time":{{{ESE2|83}}}}, {"dir":"ESE","speed":3,"time":{{{ESE3|5}}}}, {"dir":"SE","speed":1,"time":{{{SE1|82}}}}, {"dir":"SE","speed":2,"time":{{{SE2|20}}}}, {"dir":"SE","speed":3,"time":{{{SE3|10}}}}, {"dir":"SSE","speed":1,"time":{{{SSE1|23}}}}, {"dir":"SSE","speed":2,"time":{{{SSE2|38}}}}, {"dir":"SSE","speed":3,"time":{{{SSE3|32}}}}, {"dir":"S","speed":1,"time":{{{S1|47}}}}, {"dir":"S","speed":2,"time":{{{S2|64}}}}, {"dir":"S","speed":3,"time":{{{S3|27}}}}, {"dir":"SSW","speed":1,"time":{{{SSW1|26}}}}, {"dir":"SSW","speed":2,"time":{{{SSW2|27}}}}, {"dir":"SSW", "speed":3,"time":{{{SSW3|16}}}}, {"dir":"SW","speed":1,"time":{{{SW1|52}}}}, {"dir":"SW","speed":2,"time":{{{SW2|79}}}}, {"dir":"SW","speed":3,"time":{{{SW3|38}}}}, {"dir":"WSW","speed":1,"time":{{{WSW1|19}}}}, {"dir":"WSW","speed":2,"time":{{{WSW2|83}}}}, {"dir":"WSW","speed":3,"time":{{{WSW3|5}}}}, {"dir":"W","speed":1,"time":{{{W1|20}}}}, {"dir":"W","speed":2,"time":{{{W2|79}}}}, {"dir":"W","speed":3,"time":{{{W3|38}}}}, {"dir":"WNW","speed":1,"time":{{{WNW1|19}}}}, {"dir":"WNW","speed":2,"time":{{{WNW2|83}}}}, {"dir":"WNW","speed":3,"time":{{{WNW3|5}}}}, {"dir":"NW","speed":1,"time":{{{NW1|52}}}}, {"dir":"NW","speed":2,"time":{{{NW2|79}}}}, {"dir":"NW","speed":3,"time":{{{NW3|38}}}}, {"dir":"NNW","speed":1,"time":{{{NNW1|120}}}}, {"dir":"NNW","speed":2,"time":{{{NNW2|83}}}}, {"dir":"NNW","speed":3,"time":{{{NNW3|5}}}} ] }, { "name": "stack", "source": "table", "transform": [ {"type": "stack", "groupby": ["dir"], "sortby": ["speed"], "field": "time"} ] }, { "name": "facets", "source": "stack", "transform":[ {"type": "facet", "groupby": ["dir"]}, {"type": "pie"} ] } ], "scales": [ { "name": "color", "type": "ordinal", "range": ["#d62728","#9467bd","#8c564b"], "domain": {"data": "table", "field": "speed"} } ], "marks": [ { "type": "group", "from": {"data": "facets"}, "marks": [ { "type": "arc", "properties": { "enter": { "x": {"value": 100}, "y": {"value": 100}, "startAngle": {"field": {"group": "datum.layout_start"}, "offset": -0.181}, "endAngle": {"field": {"group": "datum.layout_end"}, "offset": -0.211}, "innerRadius": {"field": "layout_start"}, "outerRadius": {"field": "layout_end"}, "stroke": {"value": "#fff"}, "fill": {"scale": "color", "field": "speed"} } } } ] } ] } }}
返回
模板:Graph:WindRose
。
搜索
搜索
查看“︁模板:Graph:WindRose”︁的源代码
添加语言
添加话题