Browse Source

defaults deep

pull/2/head
vargburz 3 years ago
parent
commit
65ad8b9de4
  1. 2
      package.json
  2. 2
      src/models/scatter_series.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "@chartwerk/scatter-pod",
"version": "0.6.4",
"version": "0.6.5",
"description": "Chartwerk scatter pod",
"main": "dist/index.js",
"scripts": {

2
src/models/scatter_series.ts

@ -15,7 +15,7 @@ const SCATTER_DATA_DEFAULTS = {
export class ScatterSeries extends CoreSeries<ScatterData> {
constructor(series: ScatterData[]) {
super(series, SCATTER_DATA_DEFAULTS);
super(series, _.cloneDeep(SCATTER_DATA_DEFAULTS));
}
// move to parent

Loading…
Cancel
Save