Browse Source

Core with corrected scroll

merge-requests/15/merge
Alexander Velikiy 3 years ago
parent
commit
751750ed82
  1. 4
      dist/index.js
  2. 3
      examples/demo.html
  3. 8
      package-lock.json
  4. 4
      package.json

4
dist/index.js vendored

File diff suppressed because one or more lines are too long

3
examples/demo.html

@ -20,6 +20,9 @@
const panningEnd = (ranges) => { const xRange = ranges[0]; options.axis.x.range = xRange; pod.updateData(undefined, options); }
let options = {
renderLegend: false, usePanning: false, axis: { y: { invert: false, range: [0, 350] }, x: { format: 'time' } },
zoomEvents: {
scroll: { zoom: { isActive: true, orientation: 'horizontal' } }
},
eventsCallbacks: { zoomIn: zoomIn, zoomOut, panningEnd }
}
var pod = new LinePod(

8
package-lock.json generated

@ -1,13 +1,13 @@
{
"name": "@chartwerk/line-pod",
"version": "0.4.4",
"version": "0.4.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@chartwerk/core": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@chartwerk/core/-/core-0.3.2.tgz",
"integrity": "sha512-E4Bb2rDBDTNXRM7koSXDwM6IYYNdLnqxJel1y2BmH4p9R0Z+3L0C4B+jYurkiwcnIWdGlHXVFL0E0khPeLypfA=="
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@chartwerk/core/-/core-0.3.3.tgz",
"integrity": "sha512-aauWwYLPeMuLF727twW74GW6Uw2yqPXD8vYuFle/4nN4xjKbjWJvU7/9wlF4xh/azrpOrYWdD4l4SD25u8DzUg=="
},
"@types/d3": {
"version": "5.16.4",

4
package.json

@ -1,6 +1,6 @@
{
"name": "@chartwerk/line-pod",
"version": "0.4.4",
"version": "0.4.5",
"description": "Chartwerk line chart",
"main": "dist/index.js",
"scripts": {
@ -15,7 +15,7 @@
"author": "CorpGlory",
"license": "ISC",
"dependencies": {
"@chartwerk/core": "^0.3.2"
"@chartwerk/core": "^0.3.3"
},
"devDependencies": {
"@types/d3": "5.16.4",

Loading…
Cancel
Save