@hpcc-js/chart
Advanced tools
Comparing version 0.0.70 to 0.0.71
{ | ||
"name": "@hpcc-js/chart", | ||
"version": "0.0.70", | ||
"version": "0.0.71", | ||
"description": "hpcc-js - Viz Chart", | ||
"main": "build/index.js", | ||
"module": "build/index.es6", | ||
"unpkg": "build/index.min.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.es6", | ||
"unpkg": "dist/index.min.js", | ||
"types": "types/index.d.ts", | ||
"files": [ | ||
"build/*", | ||
"dist/*", | ||
"types/*", | ||
@@ -15,3 +15,3 @@ "src/*.css" | ||
"scripts": { | ||
"clean": "rimraf lib* && rimraf types && rimraf build", | ||
"clean": "rimraf lib* && rimraf types && rimraf dist", | ||
"compile-es6": "tsc --module es6 --outDir ./lib-es6", | ||
@@ -21,3 +21,3 @@ "compile-umd": "tsc --module umd --outDir ./lib-umd", | ||
"bundle-watch": "npm run bundle -- -w", | ||
"minimize": "uglifyjs build/index.js -c -m --source-map -o build/index.min.js", | ||
"minimize": "uglifyjs dist/index.js -c -m --source-map -o dist/index.min.js", | ||
"build": "npm run compile-es6 && npm run bundle", | ||
@@ -29,5 +29,5 @@ "watch": "concurrently --kill-others \"npm run compile-watch\" \"npm run bundle-watch\"", | ||
"dependencies": { | ||
"@hpcc-js/api": "^0.0.68", | ||
"@hpcc-js/common": "^0.0.68", | ||
"@hpcc-js/util": "^0.0.66" | ||
"@hpcc-js/api": "^0.0.69", | ||
"@hpcc-js/common": "^0.0.69", | ||
"@hpcc-js/util": "^0.0.67" | ||
}, | ||
@@ -40,5 +40,7 @@ "devDependencies": { | ||
"d3-color": "1.0.3", | ||
"d3-contour": "1.1.2", | ||
"d3-format": "1.2.0", | ||
"d3-hexbin": "0.2.2", | ||
"d3-hierarchy": "1.1.4", | ||
"d3-hsv": "0.1.0", | ||
"d3-interpolate": "1.1.5", | ||
@@ -50,3 +52,3 @@ "d3-scale": "1.0.6", | ||
"d3-transition": "1.1.0", | ||
"d3v4-bullet": "1.0.5", | ||
"d3v4-bullet": "1.0.6", | ||
"rimraf": "2.6.2", | ||
@@ -53,0 +55,0 @@ "rollup": "0.54.0", |
@@ -15,3 +15,3 @@ import { publish, SVGWidget } from "@hpcc-js/common"; | ||
protected formatter: any; | ||
d3Scale: any; | ||
protected d3Scale: any; | ||
protected d3Axis: any; | ||
@@ -40,2 +40,3 @@ protected d3Guides: any; | ||
scalePos(d: any): any; | ||
bandwidth(): any; | ||
isHorizontal(): boolean; | ||
@@ -55,2 +56,3 @@ domain(_: any): any; | ||
update(_domNode: any, _element: any): void; | ||
rerender(): void; | ||
postUpdate(_domNode: any, _element: any): void; | ||
@@ -57,0 +59,0 @@ title: { |
@@ -1,2 +0,2 @@ | ||
import { publish } from "@hpcc-js/common"; | ||
import { d3SelectionType, publish } from "@hpcc-js/common"; | ||
import "d3-transition"; | ||
@@ -8,5 +8,5 @@ import { XYAxis } from "./XYAxis"; | ||
constructor(); | ||
enter(_domNode: any, _element: any): void; | ||
adjustedData(): any; | ||
updateChart(_domNode: any, _element: any, _margin: any, _width: any, height: any, isHorizontal: any, duration: any): void; | ||
layerEnter(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
adjustedData(host: XYAxis): any[][]; | ||
layerUpdate(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
paletteID: publish<this, string>; | ||
@@ -13,0 +13,0 @@ _useClonedPalette: boolean; |
@@ -6,5 +6,5 @@ import { XYAxis } from "./XYAxis"; | ||
constructor(); | ||
xPos(d: any): any; | ||
yPos(d: any): any; | ||
updateChart(_domNode: any, _element: any, _margin: any, width: any, height: any, _isHorizontal: any, duration: any): void; | ||
xPos(host: XYAxis, d: any): any; | ||
yPos(host: XYAxis, d: any): any; | ||
layerUpdate(host: XYAxis, element: any, duration?: number): void; | ||
exit(_domNode: any, _element: any): void; | ||
@@ -11,0 +11,0 @@ paletteID: { |
@@ -7,2 +7,3 @@ export * from "./Area"; | ||
export * from "./Column"; | ||
export * from "./Contour"; | ||
export * from "./Gantt"; | ||
@@ -9,0 +10,0 @@ export * from "./HexBin"; |
@@ -0,1 +1,2 @@ | ||
import { d3SelectionType } from "@hpcc-js/common"; | ||
import { XYAxis } from "./XYAxis"; | ||
@@ -5,8 +6,8 @@ import "../src/Scatter.css"; | ||
constructor(); | ||
xPos(d: any): any; | ||
yPos(d: any): any; | ||
xPos(host: XYAxis, d: any): any; | ||
yPos(host: XYAxis, d: any): any; | ||
private curve(); | ||
enter(_domNode: any, _element: any): void; | ||
layerEnter(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
protected _prevPointShape: any; | ||
updateChart(_domNode: any, _element: any, _margin: any, _width: any, height: any, isHorizontal: any): void; | ||
layerUpdate(host: XYAxis, element: any, duration?: number): void; | ||
exit(_domNode: any, _element: any): void; | ||
@@ -13,0 +14,0 @@ paletteID: { |
@@ -1,5 +0,5 @@ | ||
import { publish, SVGWidget } from "@hpcc-js/common"; | ||
import { d3SelectionType, publish, SVGWidget } from "@hpcc-js/common"; | ||
import { Axis } from "./Axis"; | ||
import "../src/XYAxis.css"; | ||
export declare abstract class XYAxis extends SVGWidget { | ||
export declare class XYAxis extends SVGWidget { | ||
protected domainAxis: Axis; | ||
@@ -12,3 +12,3 @@ protected valueAxis: Axis; | ||
protected margin: any; | ||
protected focusChart: any; | ||
protected focusChart: XYAxis; | ||
_palette: any; | ||
@@ -23,2 +23,3 @@ constructor(); | ||
parsedData(): any; | ||
bandwidth(): any; | ||
protected svg: any; | ||
@@ -50,3 +51,12 @@ protected svgRegions: any; | ||
updateFocusChart(domNode: any, element: any, margin: any, width: any, height: any, isHorizontal: any): void; | ||
abstract updateChart(_domNode: any, _element: any, _margin: any, _width: any, _height: any, _isHorizontal: any, _duration: any): void; | ||
syncAxis(width: number): void; | ||
layerColumns(host: XYAxis): string[]; | ||
layerColumnIndices(host: XYAxis): number[]; | ||
layerColumnIndex(host: XYAxis, column: string): number; | ||
layerData(host: XYAxis): any[][]; | ||
layerEnter(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
layerUpdate(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
layerExit(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
chartsEnter(host: XYAxis, element: d3SelectionType, duration?: number): void; | ||
chartsUpdate(width: any, height: any, duration: any): void; | ||
exit(_domNode: any, _element: any): void; | ||
@@ -91,3 +101,4 @@ selection(_selected: any): void; | ||
sampleData: publish<this, string>; | ||
protected _selection: any; | ||
layers: publish<this, XYAxis[]>; | ||
_selection: any; | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2713850
33
18611
28
15
1
+ Added@hpcc-js/api@0.0.69(transitive)
+ Added@hpcc-js/common@0.0.69(transitive)
+ Added@hpcc-js/util@0.0.67(transitive)
- Removed@hpcc-js/api@0.0.68(transitive)
- Removed@hpcc-js/common@0.0.68(transitive)
- Removed@hpcc-js/util@0.0.66(transitive)
Updated@hpcc-js/api@^0.0.69
Updated@hpcc-js/common@^0.0.69
Updated@hpcc-js/util@^0.0.67