@@ -157,24 +157,33 @@ const styles = {
157157 },
158158 // e.g.
159159 // [{
160- // id: 'icon_id',
161- // position: 'left', // 'left', 'middle', 'right'
162- // marginLeft: 8,
163- // marginTop: 6,
164- // marginRight: 0,
165- // marginBottom: 0,
166- // paddingLeft: 1,
167- // paddingTop: 1,
168- // paddingRight: 1,
169- // paddingBottom: 1,
170- // icon: '\ue900',
171- // fontFamily: 'iconfont',
172- // size: 12,
173- // color: '#76808F',
174- // backgroundColor: 'rgba(33, 150, 243, 0.2)',
175- // activeBackgroundColor: 'rgba(33, 150, 243, 0.4)'
160+ // id: 'icon_id',
161+ // position: 'left', // 'left', 'middle', 'right'
162+ // marginLeft: 8,
163+ // marginTop: 6,
164+ // marginRight: 0,
165+ // marginBottom: 0,
166+ // paddingLeft: 1,
167+ // paddingTop: 1,
168+ // paddingRight: 1,
169+ // paddingBottom: 1,
170+ // size: 12,
171+ // color: '#76808F',
172+ // activeColor: '#76808F',
173+ // backgroundColor: 'rgba(33, 150, 243, 0.2)',
174+ // activeBackgroundColor: 'rgba(33, 150, 243, 0.4)',
175+ // type: 'path', // 'path', 'iconFont'
176+ // path: {
177+ // style: 'stroke', // 'stroke', 'fill'
178+ // path: 'M6.81029,6.02908L11.7878,1.02746C12.0193,0.79483,12.0193,0.445881,11.7878,0.213247C11.5563,-0.019386,11.209,-0.019386,10.9775,0.213247L6,5.21486L1.02251,0.174475C0.790997,-0.0581583,0.44373,-0.0581583,0.212219,0.174475C-0.0192925,0.407108,-0.0192925,0.756058,0.212219,0.988691L5.18971,6.02908L0.173633,11.0307C-0.0578778,11.2633,-0.0578778,11.6123,0.173633,11.8449C0.289389,11.9612,0.44373,12,0.598071,12C0.752411,12,0.906752,11.9612,1.02251,11.8449L6,6.8433L10.9775,11.8449C11.0932,11.9612,11.2476,12,11.4019,12C11.5563,12,11.7106,11.9612,11.8264,11.8449C12.0579,11.6123,12.0579,11.2633,11.8264,11.0307L6.81029,6.02908Z',
179+ // lineWidth: 1,
180+ // },
181+ // iconFont: {
182+ // content: '\ue900',
183+ // family: 'iconfont'
184+ // }
176185 // }]
177- icons : []
186+ features : []
178187 }
179188 },
180189 indicator: {
@@ -286,24 +295,33 @@ const styles = {
286295 },
287296 // e.g.
288297 // [{
289- // id: 'icon_id',
290- // position: 'left', // 'left', 'middle', 'right'
291- // marginLeft: 8,
292- // marginTop: 6,
293- // marginRight: 0,
294- // marginBottom: 0,
295- // paddingLeft: 1,
296- // paddingTop: 1,
297- // paddingRight: 1,
298- // paddingBottom: 1,
299- // icon: '\ue900',
300- // fontFamily: 'iconfont',
301- // size: 12,
302- // color: '#76808F',
303- // backgroundColor: 'rgba(33, 150, 243, 0.2)',
304- // activeBackgroundColor: 'rgba(33, 150, 243, 0.4)'
298+ // id: 'icon_id',
299+ // position: 'left', // 'left', 'middle', 'right'
300+ // marginLeft: 8,
301+ // marginTop: 6,
302+ // marginRight: 0,
303+ // marginBottom: 0,
304+ // paddingLeft: 1,
305+ // paddingTop: 1,
306+ // paddingRight: 1,
307+ // paddingBottom: 1,
308+ // size: 12,
309+ // color: '#76808F',
310+ // activeColor: '#76808F',
311+ // backgroundColor: 'rgba(33, 150, 243, 0.2)',
312+ // activeBackgroundColor: 'rgba(33, 150, 243, 0.4)',
313+ // type: 'path', // 'path', 'iconFont'
314+ // path: {
315+ // style: 'stroke', // 'stroke', 'fill'
316+ // path: 'M6.81029,6.02908L11.7878,1.02746C12.0193,0.79483,12.0193,0.445881,11.7878,0.213247C11.5563,-0.019386,11.209,-0.019386,10.9775,0.213247L6,5.21486L1.02251,0.174475C0.790997,-0.0581583,0.44373,-0.0581583,0.212219,0.174475C-0.0192925,0.407108,-0.0192925,0.756058,0.212219,0.988691L5.18971,6.02908L0.173633,11.0307C-0.0578778,11.2633,-0.0578778,11.6123,0.173633,11.8449C0.289389,11.9612,0.44373,12,0.598071,12C0.752411,12,0.906752,11.9612,1.02251,11.8449L6,6.8433L10.9775,11.8449C11.0932,11.9612,11.2476,12,11.4019,12C11.5563,12,11.7106,11.9612,11.8264,11.8449C12.0579,11.6123,12.0579,11.2633,11.8264,11.0307L6.81029,6.02908Z',
317+ // lineWidth: 1,
318+ // },
319+ // iconFont: {
320+ // content: '\ue900',
321+ // family: 'iconfont'
322+ // }
305323 // }]
306- icons : []
324+ features : []
307325 }
308326 },
309327 xAxis: {
0 commit comments