Browse Source

remove default stops options

master
vargburz 3 years ago
parent
commit
285128fea5
  1. 2
      package.json
  2. 12
      src/models/gauge_options.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "@chartwerk/gauge-pod",
"version": "0.6.1",
"version": "0.6.2",
"description": "Chartwerk gauge pod",
"main": "dist/index.js",
"scripts": {

12
src/models/gauge_options.ts

@ -51,17 +51,7 @@ export const CORE_OPTIONS_DEFAULTS = {
const GAUGE_OPTIONS_DEFAULTS: GaugeConfig = {
innerRadius: DEFAULT_INNER_RADIUS,
outerRadius: DEFAULT_OUTER_RADIUS,
stops: [
{
color: 'green',
value: 10
},
{
color: 'yellow',
value: 20
}
],
defaultColor: 'red',
defaultColor: 'green',
stat: Stat.CURRENT,
icons: [],
valueArcBackgroundColor: BACKGROUND_COLOR,

Loading…
Cancel
Save