mand-mobile/docs/static/js/DocsComponentsBusinessChart...

1 line
74 KiB
JavaScript
Raw Normal View History

webpackJsonp([29],{"/WMm":function(e,t){"use strict";t.a={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"md-example-child md-example-chart-child"},[a("md-chart",{attrs:{size:["7rem","4rem"],max:60,min:0,step:10,lines:5,format:e.format,labels:["\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D","\u5468\u65E5"],datasets:[{color:"#5e64ff",width:1,theme:"heat",values:[8,15,20,23,20,30,32,38,36,40,50,55,52]}]}})],1)},staticRenderFns:[]}},"3IRH":function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],!e.children&&(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},DLIx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("nSjC"),s=a.n(o);for(var d in o)"default"!==d&&function(e){a.d(t,e,function(){return o[e]})}(d);var l=a("jyvZ"),n=a("VU/8"),i=n(s.a,l.a,!1,function(){a("VtqT")},"data-v-f05b00f8",null);t["default"]=i.exports},"HuH+":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=t.info={title:"Chart \u6298\u7EBF\u56FE\u8868",preview:"https://didi.github.io/mand-mobile/examples/#/chart"},o=t.body="<p>SVG\u6298\u7EBF\u56FE\u8868, \u53EF\u7ED8\u5236\u591A\u6761\u6298\u7EBF\u5E76\u914D\u7F6E\u4E0D\u540C\u7684\u663E\u793A\u89C4\u5219\u3002</p>\n<h3 id=\"\u5F15\u5165\">\u5F15\u5165<a href=\"javascript:jumpAnchor('\u5F15\u5165')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><pre><code class=\"lang-javascript\"><span class=\"hljs-keyword\">import</span> { Chart } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nVue.component(Chart.name, Chart)\n</code></pre>\n<h3 id=\"\u4EE3\u7801\u6F14\u793A\">\u4EE3\u7801\u6F14\u793A<a href=\"javascript:jumpAnchor('\u4EE3\u7801\u6F14\u793A')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><!-- DEMO -->\n<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"Chart Props\">Chart Props<a href=\"javascript:jumpAnchor('Chart Props')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><table>\n<thead>\n<tr>\n<th>\u5C5E\u6027</th>\n<th>\u8BF4\u660E</th>\n<th>\u7C7B\u578B</th>\n<th>\u9ED8\u8BA4\u503C</th>\n<th>\u5FC5\u586B</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>size</td>\n<td>\u56FE\u8868\u7ED8\u5236\u533A\u57DF\u5927\u5C0F, \u5143\u7D20\u53EF\u4E3A\u5E26\u5355\u4F4D\u5B57\u7B26\u4E32\u6216\u8005\u7EAF\u6570\u5B57(\u9ED8\u8BA4\u4E3Apx)</td>\n<td>Array</td>\n<td><code>[480, 320]</code></td>\n<td>\u53EF\u9009</td>\n</tr>\n<tr>\n<td>max</td>\n<td>\u7EB5\u5750\u6807\u6700\u5927\u503C</td>\n<td>number</td>\n<td>\u82E5\u4E0D\u586B\u5219\u4F1A\u81EA\u52A8\u8BA1\u7B97\u6570\u636E\u4E2D\u6700\u5927\u503C</td>\n<td>\u53EF\u9009</td>\n</tr>\n<tr>\n<td>min</td>\n<td>\u7EB5\u5750\u6807\u6700\u8868\u6700\u5C0F\u503C, \u5EFA\u8BAE\u8BBE\u7F6E\u4E3A<code>0</code></td>\n<td>number</td>\n<td>\u82E5\u4E3A\u7A7A\u5219\u4F1A\u81EA\u52A8\u8BA1\u7B97\u6570\u636E\u4E2D\u6700\u5C0F\u503C</td>\n<td>\u53EF\u9009</td>\n</tr>\n<tr>\n<td>lines</td>\n<td>\u7EB5\u5750\u6807\u6700\u591A\u753B\u51E0\u6761\u7EBF</td>\n<td>number</td>\n<td><code>5</code></td>\n<td>\u53EF\u9009</td>\n</tr>\n<tr>\n<td>step</td>\n<td>\u7EB5\u5750\u6807\u9012\u51CF\u7684\u5355\u4F4D\u503C</td>\n<td>number</td>\n<td>\u82E5\u4E3A\u7A7A\u5219\u6839\u636E<code>lines</code>, <code>max</code>, <code>min</code>\u81EA\u52A8\u8BA1\u7B97\u5E73\u5747\u503C</td>\n<td>\u53EF\u9009</td>\n</tr>\n<tr>\n<td>format</td>\n<td>\u7EB5\u5750\u6807\u6807\u7B7E\u683C\u5F0F\u5316\u51FD\u6570</td>\n<td>Function</td>\n<td><code>val =&gt; val</code></td>\n<td>\u53EF\u9009</td>\n</tr>\n<tr>\n<td>labels</td>\n<td>\u6A2A\u5750\u6807\u7684\u6807\u7B7E</td>\n<td>Array</td>\n<td>-</td>\n<td>\u5FC5\u586B</td>\n</tr>\n<tr>\n<td>datasets</td>\n<td>\u6570\u636E\u503C, \u683C\u5F0F\u53C2\u8003\u4E0B\u9762\u7684\u8BF4\u660