1 line
		
	
	
		
			74 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			1 line
		
	
	
		
			74 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
|  | 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}},"6hHF":function(e,t,a){var o=a("Qv3+");"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);a("rjj0")("44f5a930",o,!0,{})},"6heO":function(e,t,a){var o=a("cKjI");"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);a("rjj0")("0c754770",o,!0,{})},CLrr:function(e,t,a){t=e.exports=a("FZ+f")(!0),t.push([e.i,"svg[data-v-6dbbe8c2]{display:block;margin:0 auto;width:7rem;height:4rem}","",{version:3,sources:["/Users/moyu/Code/mand-mobile/site/public/docs/components/business/chart/demo1.vue"],names:[],mappings:"AACA,qBACE,cAAe,AACf,cAAe,AACf,WAAY,AACZ,WAAa,CACd",file:"demo1.vue",sourcesContent:["\nsvg[data-v-6dbbe8c2] {\n  display: block;\n  margin: 0 auto;\n  width: 7rem;\n  height: 4rem;\n}"],sourceRoot:""}])},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("6hHF")},"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>\ |