| <!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="./css/main.css?_v_=1572272992682"><script>window.EC_WWW_LANG = 'zh'; |
| </script><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) { |
| var el = document.createElement('style'); |
| el.innerHTML = '' |
| + '@font-face {font-family:"noto-thin";src:local("Microsoft Yahei");}' |
| + '@font-face {font-family:"noto-light";src:local("Microsoft Yahei");}'; |
| document.head.insertBefore(el, document.getElementById('font-hack')); |
| } |
| </script><title>ECharts 在线构建</title><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jquery@2.2.4/dist/jquery.min.js"></script></head><!--[if lte IE 8]><body class="lower-ie"><div id="lowie-main"><img src="./images/forie.png" alt="ie tip"></div></body><![endif]--> |
| <!--[if (gt IE 8)|!(IE)]><body class="undefined"></body><![endif]--><div id="apache-banner"><div class="txt"><p>Apache ECharts 是一个正在由 Apache 孵化器赞助的 Apache 开源基金会孵化的项目。</p><p>我们正在处理将本站跳转到 <a href="https://echarts.apache.org" target="_blank">https://echarts.apache.org</a> 的迁移工作。您可以现在就前往我们的 Apache 官网。</p></div><a href="https://echarts.apache.org" target="_blank" onclick="logApache()" class="btn"><div>访问官网</div></a><a href="javascript:;" onclick="closeApacheBanner(true)" class="close-btn">x</a></div><div id="main"><nav class="navbar navbar-default navbar-fixed-top"><div class="container-fluid"><div class="navbar-header"><button type="button" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="http://localhost/incubator-echarts-website/zh/index.html" class="navbar-brand"><img src="http://localhost/incubator-echarts-website/zh/images/logo.png" alt="echarts logo" class="navbar-logo"></a></div><div id="navbar-collapse" class="collapse navbar-collapse"><ul class="nav navbar-nav navbar-left"><li id="nav-index"><a href="http://localhost/incubator-echarts-website/zh/index.html">首页</a></li><li id="nav-doc" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">文档<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://localhost/incubator-echarts-website/zh/feature.html">特性</a></li><li><a href="http://localhost/incubator-echarts-website/zh/tutorial.html">教程</a></li><li><a href="http://localhost/incubator-echarts-website/zh/api.html">API</a></li><li><a href="http://localhost/incubator-echarts-website/zh/cheat-sheet.html">术语速查手册<span class="new">NEW</span></a></li><li><a href="http://localhost/incubator-echarts-website/zh/option.html">配置项手册</a></li><li><a href="http://localhost/incubator-echarts-website/zh/option-gl.html">GL 配置项手册</a></li><li><a href="http://localhost/incubator-echarts-website/zh/changelog.html">版本记录</a></li></ul></li><li id="nav-download" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">下载<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://localhost/incubator-echarts-website/zh/download.html">下载</a></li><li><a href="http://localhost/incubator-echarts-website/zh/download-theme.html">主题下载</a></li><li><a href="http://localhost/incubator-echarts-website/zh/download-extension.html">扩展下载</a></li></ul></li><li id="nav-examples"><a href="#" data-toggle="dropdown" class="dropdown-toggle">实例<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://localhost/incubator-echarts-website/examples/zh/index.html">官方实例</a></li><li><a href="http://localhost/incubator-echarts-website/examples/zh/index.html#chart-type-globe">GL 实例</a></li></ul></li><li id="nav-community"><a href="#" data-toggle="dropdown" class="dropdown-toggle">社区<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://gallery.echartsjs.com">Gallery</a></li><li><a href="https://efe.baidu.com/tags/ECharts/">博客</a></li></ul></li><li id="nav-tool"><a href="#" data-toggle="dropdown" class="dropdown-toggle">工具<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://localhost/incubator-echarts-website/zh/spreadsheet.html">表格工具</a></li><li><a href="https://echarts.baidu.com/theme-builder/">主题构建工具</a></li></ul></li><li id="nav-contribute"><a href="#" data-toggle="dropdown" class="dropdown-toggle">贡献<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://github.com/apache/incubator-echarts" target="_blank">源码(GitHub)</a></li><li><a href="https://github.com/apache/incubator-echarts/issues" target="_blank">Issues</a></li><li><a href="http://localhost/incubator-echarts-website/zh/coding-standard.html">代码规范</a></li></ul></li><li id="nav-about"><a href="#" data-toggle="dropdown" class="dropdown-toggle">关于<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="http://localhost/incubator-echarts-website/zh/committers.html">贡献者列表</a></li><li><a href="https://www.apache.org/licenses/">版权声明</a></li><li><a href="http://localhost/incubator-echarts-website/zh/maillist.html">邮件列表</a></li><li><a href="http://localhost/incubator-echarts-website/zh/dependencies.html">依赖项</a></li><li><a href="http://localhost/incubator-echarts-website/zh/faq.html">常见问题</a></li></ul></li></ul><ul class="nav navbar-nav navbar-right"><li id="nav-github"><a href="https://github.com/ecomfe/echarts" target="_blank"><img src="http://localhost/incubator-echarts-website/zh/images/github.png" width="18"></a></li><li id="nav-homeen"><a href="javascript:;" onclick="changeLang('en')">EN</a></li></ul></div></div></nav><div id="builder"><div class="page-info"><div id="title" class="container"><h1>在线定制</h1><p>可自由选择所需图表、坐标系、组件进行打包下载,并且可对渲染引擎、兼容及压缩问题进行设置</p></div></div><div class="page-content"><div id="configuration" class="container"><a href="builder.html" style="float: right">前往定制 4.x 版本</a><section id="charts"><h3>图表<span>chart</span></h3><p class="desc">选择要打包的图表<span class="warn">(注:开发环境建议不压缩代码,代码压缩会去掉大部分常见的警告和错误提示)</span></p><ul><li class="checked"><img src="images/builder/chart/bar.svg" alt=""><input type="checkbox" name="bar"><h5>柱状图 <div>Bar</div></h5></li><li class="checked"><img src="images/builder/chart/line.svg" alt=""><input type="checkbox" name="line"><h5>折线图 <div>Line</div></h5></li><li class="checked"><img src="images/builder/chart/pie.svg" alt=""><input type="checkbox" name="pie"><h5>饼图 <div>Pie</div></h5></li><li><img src="images/builder/chart/scatter.svg" alt=""><input type="checkbox" name="scatter"><h5>散点图 <div>Scatter</div></h5></li><li><img src="images/builder/chart/effectScatter.svg" alt=""><input type="checkbox" name="effectScatter"><h5>涟漪散点图 <div>EffectScatter</div></h5></li><li><img src="images/builder/chart/candlestick.svg" alt=""><input type="checkbox" name="candlestick"><h5>K线图 <div>Candlestick</div></h5></li><li><img src="images/builder/chart/radar.svg" alt=""><input type="checkbox" name="radar"><h5>雷达图 <div>Radar</div></h5></li><li><img src="images/builder/chart/heatmap.svg" alt=""><input type="checkbox" name="heatmap"><h5>热力图 <div>Heatmap</div></h5></li><li><img src="images/builder/chart/tree.svg" alt=""><input type="checkbox" name="tree"><h5>树图 <div>Tree</div></h5></li><li><img src="images/builder/chart/treemap.svg" alt=""><input type="checkbox" name="treemap"><h5>矩形树图 <div>Treemap</div></h5></li><li><img src="images/builder/chart/sunburst.svg" alt=""><input type="checkbox" name="sunburst"><h5>旭日图 <div>Sunburst</div></h5></li><li><img src="images/builder/chart/map.svg" alt=""><input type="checkbox" name="map"><h5>地图 <div>Map</div></h5></li><li><img src="images/builder/chart/lines.svg" alt=""><input type="checkbox" name="lines"><h5>线图 <div>Lines</div></h5></li><li><img src="images/builder/chart/graph.svg" alt=""><input type="checkbox" name="graph"><h5>关系图 <div>Graph</div></h5></li><li><img src="images/builder/chart/boxplot.svg" alt=""><input type="checkbox" name="boxplot"><h5>箱线图 <div>Boxplot</div></h5></li><li><img src="images/builder/chart/parallel.svg" alt=""><input type="checkbox" name="parallel"><h5>平行坐标 <div>Parallel</div></h5></li><li><img src="images/builder/chart/gauge.svg" alt=""><input type="checkbox" name="gauge"><h5>仪表盘 <div>Gauge</div></h5></li><li><img src="images/builder/chart/funnel.svg" alt=""><input type="checkbox" name="funnel"><h5>漏斗图 <div>Funnel</div></h5></li><li><img src="images/builder/chart/sankey.svg" alt=""><input type="checkbox" name="sankey"><h5>桑基图 <div>Sankey</div></h5></li><li><img src="images/builder/chart/themeRiver.svg" alt=""><input type="checkbox" name="themeRiver"><h5>主题河流图 <div>ThemeRiver</div></h5></li><li><img src="images/builder/chart/pictorialBar.svg" alt=""><input type="checkbox" name="pictorialBar"><h5>象形柱图 <div>PictorialBar</div></h5></li><li><img src="images/builder/chart/custom.svg" alt=""><input type="checkbox" name="custom"><h5>自定义系列 <div>Custom</div></h5></li></ul></section><section id="coords"><h3>坐标系<span>coordinate systems</span></h3><p class="desc">选择要打包的坐标系,有些图表像散点图,折线图可以被应用到多个坐标系上</p><ul><li class="checked"><img src="images/builder/component/gridSimple.svg" alt=""><input type="checkbox" name="gridSimple"><h5>直角坐标系 <div>Grid</div></h5></li><li><img src="images/builder/component/polar.svg" alt=""><input type="checkbox" name="polar"><h5>极坐标系 <div>Polar</div></h5></li><li><img src="images/builder/component/geo.svg" alt=""><input type="checkbox" name="geo"><h5>地理坐标系 <div>Geo</div></h5></li><li><img src="images/builder/component/singleAxis.svg" alt=""><input type="checkbox" name="singleAxis"><h5>单轴 <div>SingleAxis</div></h5></li><li><img src="images/builder/component/calendar.svg" alt=""><input type="checkbox" name="calendar"><h5>日历 <div>Calendar</div></h5></li></ul></section><section id="components"><h3>组件<span>component</span></h3><p class="desc">选择要打包的组件</p><ul><li class="checked"><img src="images/builder/component/title.svg" alt=""><input type="checkbox" name="title"><h5>标题 <div>Title</div></h5></li><li class="checked"><img src="images/builder/component/legend.svg" alt=""><input type="checkbox" name="legendScroll"><h5>图例 <div>Legend</div></h5></li><li class="checked"><img src="images/builder/component/tooltip.svg" alt=""><input type="checkbox" name="tooltip"><h5>提示框 <div>Tooltip</div></h5></li><li><img src="images/builder/component/markPoint.svg" alt=""><input type="checkbox" name="markPoint"><h5>标注 <div>MarkPoint</div></h5></li><li><img src="images/builder/component/markLine.svg" alt=""><input type="checkbox" name="markLine"><h5>标线 <div>MarkLine</div></h5></li><li><img src="images/builder/component/markArea.svg" alt=""><input type="checkbox" name="markArea"><h5>标域 <div>MarkArea</div></h5></li><li><img src="images/builder/component/timeline.svg" alt=""><input type="checkbox" name="timeline"><h5>时间轴 <div>Timeline</div></h5></li><li><img src="images/builder/component/dataZoom.svg" alt=""><input type="checkbox" name="dataZoom"><h5>数据区域缩放 <div>DataZoom</div></h5></li><li><img src="images/builder/component/brush.svg" alt=""><input type="checkbox" name="brush"><h5>刷选 <div>Brush</div></h5></li><li><img src="images/builder/component/visualMap.svg" alt=""><input type="checkbox" name="visualMap"><h5>视觉映射 <div>VisualMap</div></h5></li><li><img src="images/builder/component/toolbox.svg" alt=""><input type="checkbox" name="toolbox"><h5>工具栏 <div>Toolbox</div></h5></li><li><img src="images/builder/component/graphic.svg" alt=""><input type="checkbox" name="graphic"><h5>自定义图形 <div>Graphic</div></h5></li></ul></section><section id="other"><h3>其它选项<span>others</span></h3><div class="other-option"><input type="checkbox" id="svg" name="svg"><label for="svg">SVG 渲染</label><p class="desc">是否包括 SVG 渲染器,从而能支持使用 SVG 来绘制图表</p></div><div class="other-option"><input type="checkbox" id="vml" name="vml"><label for="vml">兼容 IE8</label><p class="desc">是否包括对 IE8 的兼容代码</p></div><div class="other-option"><input type="checkbox" id="api" name="api" checked="checked"><label for="api">工具集</label><p class="desc">是否在 echarts 对象上挂载常用工具集。一般都会挂载,除非对生成的文件的体积有苛求,并且不需要用这些工具集。</p></div><div class="other-option"><input type="checkbox" id="compress" name="compress" checked="checked"><label for="compress">代码压缩</label><p class="desc">是否使用 UglifyJS 压缩后的代码,开发环境建议不压缩代码,代码压缩会去掉大部分常见的警告和错误提示。</p></div></section></div><div id="action"><p>感谢对ECharts关注与支持,为了更好地为您提供关于 ECharts 的相关资讯,您可以留下您的电子邮箱</p><div><input type="text" name="email" id="email" placeholder="someone@email.com"></div><div class="clear"></div><div></div><a id="build" href="javascript:;" class="btn btn-thirdary">下载</a></div></div></div><footer><div class="container"><div class="row"><div class="col-md-9"><p>Apache ECharts is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p><p>Copyright © 2017-2019, The Apache Software Foundation Apache ECharts, ECharts, Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the Apache Software Foundation.</p></div><div id="footer-icon-panel" class="col-md-3"><a href="https://www.apache.org"><img src="images/asf_logo.svg" class="footer-apache-logo"></a><div class="icon-panel"><a href="mailto:dev@echarts.apache.com?Body=%28Thanks%20for%20using%20ECharts.%20Email%20us%20if%20you%20have%20non-technical%20problems%20using%20ECharts.%20For%20technical%20support%2C%20please%20go%20to%20https%3A//github.com/ecomfe/echarts/issues%20.%29" class="footer-icon"><img src="images/icon-email.png"></a><a href="https://twitter.com/EChartsJs" class="footer-icon"><img src="images/icon-twitter.png"></a><a href="https://weibo.com/u/5160877841" class="footer-icon"><img src="images/icon-weibo.png"></a><a href="https://github.com/ecomfe/echarts" class="footer-icon"><img src="images/icon-github.png"></a></div></div></div></div></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script><script type="text/javascript" src="./js/common.js"></script><script src="js/log.js"></script><script>function updateCheckbox() { |
| $('#charts input, #components input, #coords input').each(function () { |
| $(this).attr('checked', $(this).parent().hasClass('checked')); |
| }); |
| } |
| |
| $('#charts li, #components li, #coords li').click(function () { |
| $(this).toggleClass('checked'); |
| |
| updateCheckbox(); |
| }); |
| |
| updateCheckbox(); |
| |
| // Build |
| $("#build").click(function () { |
| var charts = []; |
| $('#charts .checked input').each(function () { |
| charts.push($(this).attr('name')); |
| }); |
| |
| var components = []; |
| $('#coords .checked input').each(function () { |
| components.push($(this).attr('name')); |
| }); |
| $('#components .checked input').each(function () { |
| components.push($(this).attr('name')); |
| }); |
| |
| var parameters = 'charts=' + charts.join(',') + '&components=' + components.join(','); |
| |
| if (!$('#compress').prop('checked')) { |
| parameters += '&source=true'; |
| } |
| if ($('#vml').prop('checked')) { |
| parameters += '&vml=true'; |
| } |
| if ($('#svg').prop('checked')) { |
| parameters += '&svg=true'; |
| } |
| if ($('#api').prop('checked')) { |
| parameters += '&api=true'; |
| } |
| |
| parameters += '&version=3' |
| + '&versionCode='; |
| |
| var email = $('#email').val(); |
| var log = parameters; |
| if (email) { |
| log += '&email=' + email; |
| } |
| _hmt.push(['_trackEvent', 'builder', 'build', '', log]); |
| |
| window.open('builder/echarts.html?' + parameters); |
| });</script><!-- Baidu Tongji--><script type="text/javascript">var _hmt = _hmt || []; |
| (function() { |
| var hm = document.createElement("script"); |
| hm.src = "https://hm.baidu.com/hm.js?54b918eee37cb8a7045f0fd0f0b24395"; |
| var s = document.getElementsByTagName("script")[0]; |
| s.parentNode.insertBefore(hm, s); |
| })(); |
| </script><!-- Google Analytics--><script type="text/javascript" async src="https://www.googletagmanager.com/gtag/js?id=UA-141228404-1"></script><script type="text/javascript">window.dataLayer = window.dataLayer || []; |
| function gtag(){dataLayer.push(arguments);} |
| gtag('js', new Date()); |
| gtag('config', 'UA-141228404-1');</script></html> |