diff --git a/examples/01-basic.html b/examples/01-basic.html index c68bb45..4d89050 100644 --- a/examples/01-basic.html +++ b/examples/01-basic.html @@ -17,14 +17,16 @@ stops: [ { color: 'green', - value: 10 + value: 20 }, { color: 'orange', value: 30 } ], - defaultColor: 'red' + defaultColor: 'red', + maxValue: 40, + minValue: 10 } ); pod.render(); diff --git a/src/index.ts b/src/index.ts index d934e9c..9e7d66b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -120,9 +120,11 @@ export class ChartwerkGaugePod extends ChartwerkPod