Commit Graph

3298 Commits

Author SHA1 Message Date
emmcbd
7dbfde524f
Strong chart object and properties typing (#7782)
* Strong chart object and chart creation typing
* Handle mixed charts
* Add documentation
2020-09-11 20:18:21 -04:00
Jukka Kurkela
9427398b3c
Fix hover-out regression (#7785) 2020-09-11 10:46:25 -04:00
xr0master
9b00ff3e1e
interfaces.d: fix a wrong place of Option infer (#7770)
Co-authored-by: Sergey Khomushin <sergey@placer.io>
2020-09-11 07:32:11 -04:00
Jukka Kurkela
98ab3d095b
[types] parsing is not part of IChartData (#7778) 2020-09-10 17:53:15 -04:00
xr0master
1ec6f1da71
Improve types (#7767)
* interfaces.d: added plugins for the chart configuration
* index.d: allow to set data
* index.d: improve type for the update method
* interfaces.d: improve type of generic chart type
* interfaces.d: alphabetical sort
* index.d: set fields in alphabetical sort
* interfaces.d: remove custom type (string)
* core/index.d: import "chart type" type
* interfaces.d: added extends for TYPE
* interfaces.d: move chart types to enum
* core/index.d: move the update mode to enum

Co-authored-by: Sergey Khomushin <sergey@placer.io>
2020-09-08 21:27:08 -04:00
stockiNail
fd34e786ab
isoWeekday time options on time scale as number (#7768)
* fixed default of tension property of line element
* Fixes isoWeekday on time scale #7749
* adds checking on isoWeekDay options in _generate function
2020-09-07 16:19:45 -04:00
emmcbd
c2fc8a4f17
Type fixes (#7759)
* Some type fixes
* Fix missing property on tooltip option type
2020-09-06 16:43:38 -04:00
Evert Timberg
fafbfae820
Update pull request template contributing docs link (#7765) 2020-09-06 09:46:41 -04:00
Jukka Kurkela
cb8aae9b98
Cache Intl.NumberFormat instances (#7755)
* Update dependencies
* Cache Intl.NumberFormat instances
2020-09-04 16:49:38 -04:00
Jukka Kurkela
d5eaa12d96
Fix: update chart when attached (#7758) 2020-09-04 16:47:36 -04:00
Jukka Kurkela
c749fbdf5f
Fix the parameter order of before/afterEvent (#7757) 2020-09-04 16:47:08 -04:00
Jukka Kurkela
4fa2c408f0
Remove duplicate code, clearer parameter names (#7756) 2020-09-04 16:46:44 -04:00
Jukka Kurkela
18c003959d
Chart.register instead of Chart.plugins.register (#7753) 2020-09-03 11:45:57 -04:00
Samuel Gratzl
4a827db5ff
Fix Invalid Typescript Types (#7748) 2020-09-02 08:10:19 -04:00
Jukka Kurkela
effe988bbf
Reduce code duplication and sort generated ticks (#7747)
* Reduce code duplication and sort generated ticks
* Add test
2020-09-02 08:09:39 -04:00
Jukka Kurkela
e9a01e6bdc
Bump version for beta release of v3 (#7743)
* Bump version for beta release of v3
* What is it with the http://
2020-08-31 08:39:26 -04:00
Jukka Kurkela
a32e672fb2
Color the scales of multi-axis scatter sample (#7741) 2020-08-31 07:57:06 -04:00
Jukka Kurkela
da33b1bb27
Fix shared option handling (#7731)
Fix shared option handling
2020-08-27 09:14:08 -04:00
Jukka Kurkela
c9573bc1e4
Refer to master documentation for Contributing (#7733) 2020-08-25 08:16:33 -04:00
Jukka Kurkela
baa4429ad1
Use offsetX/Y or layerX/Y for events when available (#7732)
* Use offsetX/offsetY for events when available
* Fall to layerX/layerY for FF compatibility
2020-08-25 08:04:06 -04:00
Jukka Kurkela
d561486b4e
Revert "Preserve object prototypes when cloning (#7381)" (#7727)
This reverts commit 51be344717.
2020-08-24 08:15:56 -04:00
Pavel
35d669e5bb
Document .getElementsAtXAxis(e) (#7718)
Preventing pain for people with a specific use case.
2020-08-22 12:25:28 -04:00
Jukka Kurkela
ae214d9fbd
Resize on devicePixelRatio changes (#7717)
* Resize on devicePixelRatio changes
2020-08-19 07:08:41 -04:00
Samuel Gratzl
886a465c18
small type fixes (#7715) 2020-08-19 07:01:14 -04:00
Jukka Kurkela
f5b4a0fa3c
Improve test coverage and fix minor issues found (#7713)
* Registry
* Element
* Animation
* Animations
* Animator
2020-08-17 10:03:15 -04:00
Jukka Kurkela
dd261b22f9
Use interpolation in fill: 'stack' (and fix interpolation) (#7711)
* Add tests and fix _boundSegment
* Use interpolate for finding points below
* Remove _refPoints logic (getTarget in draw)
2020-08-16 11:18:46 -04:00
Jukka Kurkela
689befa807
Make sure bezier control points are updated (#7710)
* Make sure bezier control points are updated
* Test
2020-08-15 17:06:03 -04:00
Jukka Kurkela
6ad17c0294
Stop bundling specs for improved coverage (#7709) 2020-08-14 09:15:18 -04:00
Evert Timberg
8fd7ef2901
Doughnut controller overrides (#7702) 2020-08-11 17:11:57 -04:00
Jukka Kurkela
6f83c55be5
'stack' mode for filler (#7705)
'stack' mode for filler
2020-08-11 09:31:18 -04:00
Jukka Kurkela
f79d609548
Add offset option for arc (#7691)
* Add offset option for arc
* Finishing touches
2020-08-05 07:35:28 -04:00
Samuel Gratzl
4eeed6e876
WIP: TypeScript types (#7668)
First version of types
2020-08-04 16:52:57 -04:00
Jukka Kurkela
9c27f74801
Export extensible classes in ESM compatible way (#7650)
* Export extensible classes in ESM compatible way
* Export collection helperrs
* Remove reduntant registry assignment
2020-08-03 12:33:41 -04:00
Jukka Kurkela
2ea01d9beb
Include Chart.defaults always (#7686) 2020-08-03 12:33:21 -04:00
Jukka Kurkela
e756fb93a3
Resolve fonts through options.font (#7674)
* Resolve fonts through options.font
* Remove defaultRoutes from Tooltip fonts
2020-08-03 12:32:58 -04:00
stockiNail
65c31cfd6e
Add some additional info and sections to animation documentation (#7685) 2020-07-31 09:49:17 -04:00
stockiNail
b86880f746
fixed default of tension property of line element (#7677) 2020-07-28 17:24:55 -04:00
Jukka Kurkela
da0764a585
Fix casing of dist files in docs (#7670) 2020-07-26 10:23:12 -04:00
Jukka Kurkela
2b40e04a4b
Live demo in getting-started page (#7659)
* Output docs directly to dist
* Live demo in getting-started page
2020-07-22 13:00:43 -04:00
Ben McCann
8837cbc890
Docs: chart should live in own container (#7658) 2020-07-21 17:50:18 -04:00
Ben McCann
bdef29ebb1
Fix import statement in docs (#7653) 2020-07-20 15:54:46 -04:00
Evert Timberg
70c2b07eb2
Do not use line defaults in legend (#7649) 2020-07-19 12:52:59 -04:00
dependabot[bot]
6aeeb2c923
Bump lodash from 4.17.15 to 4.17.19 (#7645)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 16:48:51 -04:00
Evert Timberg
1b81ecd375
Bump package version in preparation for alpha2 release (#7586)
* Bump package version in preparation for alpha2 release
* Bump lockfile as well
* Mark build as pre-release
2020-07-17 16:41:27 -04:00
Jukka Kurkela
b6d3579bb1
Update spanGaps docs (#7643) 2020-07-17 16:24:06 -04:00
Jukka Kurkela
7f4b74d956
minBarLength at base going both ways (#7642) 2020-07-17 13:29:43 -04:00
Ben McCann
843829f16c
Fix tooltip in financial sample (#7638) 2020-07-17 09:19:20 -04:00
Ben McCann
2564e708b5
Determine unit automatically in test (#7637) 2020-07-17 07:53:40 -04:00
Ben McCann
8d837f977d
Add test fixture for financial sample (#7635)
Add test fixture for financial sample
2020-07-16 18:47:40 -04:00
Jukka Kurkela
bc27b522c0
FloatBar: update range only for value scale (#7634) 2020-07-16 13:31:11 -04:00