Browse Source

use latest core

pull/2/head
vargburz 3 years ago
parent
commit
31d4eefc5f
  1. 4
      package.json
  2. 6
      src/models/scatter_series.ts
  3. 6
      yarn.lock

4
package.json

@ -1,6 +1,6 @@
{ {
"name": "@chartwerk/scatter-pod", "name": "@chartwerk/scatter-pod",
"version": "0.6.2", "version": "0.6.3",
"description": "Chartwerk scatter pod", "description": "Chartwerk scatter pod",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
@ -13,7 +13,7 @@
"author": "CorpGlory", "author": "CorpGlory",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@chartwerk/core": "0.6.3" "@chartwerk/core": "latest"
}, },
"devDependencies": { "devDependencies": {
"css-loader": "^3.4.2", "css-loader": "^3.4.2",

6
src/models/scatter_series.ts

@ -15,11 +15,7 @@ const SCATTER_DATA_DEFAULTS = {
export class ScatterSeries extends CoreSeries<ScatterData> { export class ScatterSeries extends CoreSeries<ScatterData> {
constructor(series: ScatterData[]) { constructor(series: ScatterData[]) {
super(series); super(series, SCATTER_DATA_DEFAULTS);
}
protected get defaults(): ScatterData {
return { ...this._coreDefaults, ...SCATTER_DATA_DEFAULTS };
} }
// move to parent // move to parent

6
yarn.lock

@ -6,12 +6,12 @@ __metadata:
cacheKey: 8 cacheKey: 8
"@chartwerk/core@npm:latest": "@chartwerk/core@npm:latest":
version: 0.6.1 version: 0.6.5
resolution: "@chartwerk/core@npm:0.6.1" resolution: "@chartwerk/core@npm:0.6.5"
dependencies: dependencies:
d3: ^5.7.2 d3: ^5.7.2
lodash: ^4.14.149 lodash: ^4.14.149
checksum: 6c57d4d3391a656f743f8459a97102fff8d4bc6f880d1d7e0abc3070dca7eff39edf46feccc7fa0dd36ca38771a63e5045966e49e65b0763404e01fee8ad11c5 checksum: 2757ae8be04b84c3624bd807a437d6bf3c67fef0808e3192f0a97ba819627f3b28821628cfefdfabe1951e8b7d0d45d1b9f6ade13cdc4a5bca5e539fc70850df
languageName: node languageName: node
linkType: hard linkType: hard

Loading…
Cancel
Save