This article has not been translated, hope that your can PR to translated it. Help us!

迷你进度条
IMPORT MODULE

用于显示跟速度相关图形再适合不过。

Examples

Basic

基础用法。

expand codeexpand code
import { Component } from '@angular/core';

@Component({
  selector: 'chart-mini-progress-basic',
  template: ` <g2-mini-progress percent="78" strokeWidth="8" target="80"></g2-mini-progress> `,
})
export class ChartMiniProgressBasicComponent {}

API

g2-mini-progress

参数说明类型默认值
[target]目标比例number-
[color]进度条颜色string-
[strokeWidth]进度条高度number-
[percent]进度比例number-