| <!DOCTYPE html> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <title>ZingSoft Demo</title> |
| <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script> |
| <style> |
| .chart--container { |
| min-height: 530px; |
| width: 650px; |
| height: 350px; |
| } |
| |
| .zc-ref { |
| display: none; |
| } |
| </style> |
| </head> |
| |
| <body> |
| <div id="myChart" class="chart--container"> |
| <a class="zc-ref" href="https://www.zingchart.com/">Powered by ZingChart</a> |
| </div> |
| <script> |
| ZC.LICENSE = ["xxx", "xxx"]; |
| let chartConfig = { |
| type: 'area', |
| title: { |
| text: '标题', |
| fontColor: '#4caee7', |
| }, |
| subtitle: { |
| text: '副标题', |
| fontColor: '#cb8670', |
| }, |
| plot: { |
| activeArea: true, |
| animation: { |
| delay: 50, |
| effect: 'ANIMATION_SLIDE_LEFT', |
| method: 'ANIMATION_REGULAR_EASE_OUT', |
| sequence: 'ANIMATION_NO_SEQUENCE', |
| speed: 1500, |
| }, |
| hoverMarker: { |
| size: '8px', |
| }, |
| stacked: true, |
| }, |
| plotarea: { |
| backgroundColor: '#fff', |
| }, |
| scaleX: { |
| labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| }, |
| scaleY: { |
| item: { |
| padding: '4px', |
| }, |
| lineColor: '#333', |
| tick: { |
| lineColor: '#333', |
| }, |
| }, |
| series: [{ |
| values: [11, 36, 7, 44, 11, 28, 42], |
| backgroundColor: '#cb8670', |
| lineColor: '#cb8670', |
| marker: { |
| backgroundColor: '#cb8670', |
| borderColor: '#fff', |
| borderWidth: '2px', |
| }, |
| }, |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ], |
| }; |
| |
| zingchart.render({ |
| id: 'myChart', |
| data: chartConfig, |
| height: '100%', |
| width: '100%', |
| }); |
| </script> |
| </body> |
| |
| </html> |
点击查看详情

【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
2022-05-22 spring5入门(二十七):WebFlux实现,函数式编程模型
2022-05-22 spring5入门(二十六):WebFlux实现,注解编程模型
2022-05-22 spring5入门(二十五):Reactor
2022-05-22 spring5入门(二十四):Webflux简介