Ivan Gamboa Ultreras
9ab50e6313
Fix offset on doughnut charts ( #10469 )
...
Fix offset on doughnut charts
2022-08-03 20:27:17 +03:00
Jacco van den Berg
beaf370cc5
Bug/Radial linear scale grid get correct options at index ( #10010 )
...
* get correct options for index
* update test
* add initial migration guide
2022-08-03 02:32:02 +02:00
stockiNail
144a6c0c27
Enable borderDash option in the grid as scriptable ( #10519 )
2022-07-26 08:28:15 -04:00
Jukka Kurkela
7a13906114
Fix options update when changing to shared opts ( #10451 )
2022-06-29 16:44:51 +03:00
Jacco van den Berg
954ed953a5
Respect fill: false
with custom draw times ( #10414 )
...
* Resolve canvasgradient is not defined in node
* Remove trailing white space
* export isPaternOrGradient helper with typings
* fix lint failure, single qoute
* Respect `fill: false` with custom draw times
* correctly listen to fill property
* remove console log and lint errors
* implement feedback, still update control points
2022-06-22 07:41:18 -04:00
Evert Timberg
5c3dc932b6
Enable configuration of radial scale point label border radius ( #10293 )
2022-04-15 18:31:09 -04:00
Evert Timberg
a39f694184
Allow time scale to offset using skipped ticks ( #10278 )
2022-04-03 16:05:43 -04:00
Evert Timberg
edd764fcb5
minimum bar length setting keeps bar base in view ( #10157 )
2022-02-13 15:27:46 -05:00
Jacco van den Berg
ed68557a99
Make object notation usable for polarArea and radar ( #10088 )
...
* start to make object notation usable for polarArea
* enable object notation also for radar chart, test default key
2022-02-12 10:23:31 -05:00
Talla2XLC
7c14ab74aa
Add new align 'inner' for X axis ( #10106 )
...
* Add new align for X axis
new align 'left-right' for options.scales['x'].ticks namespace will allow users to aling ticks: 'start" for first (left) tick and 'end' for last (right) tick
* corrected name of aligment to "inner", documentation and add test for inner labels
* delete unnecessary changes
* corrected logic for reverse axis, add tests for reverse axis and withoutY axis
* corrected chart paddings for "inner" tick align
* code clearness
* Update types/index.esm.d.ts
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Co-authored-by: Talla2XLC <alexey.ivanov@epc.com.ru>
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
2022-02-12 10:07:00 -05:00
Charles Masson
c527f47a89
Fix using above/below filling option with discontinuous lines ( #10024 )
...
Added a test in the boundary folder
2022-01-01 23:42:45 +02:00
Jukka Kurkela
1da9fdd519
radialLinear: fix positioning & scaling ( #10021 )
...
* radialLinear: fix positioning & scaling
* bloody pixels
* better radar fixtures
2021-12-23 20:47:36 +02:00
Jacco van den Berg
d24fe14e71
radialLinear: fix getIndexAngle when there are no labels (left) ( #10020 )
...
* Resolve animation if indexAngle is NaN
* make it private
* add test
* use chart.js helper instead of own logic
* implement feedback
* remove extra line
* my precious bits
2021-12-23 09:48:21 +02:00
Jacco van den Berg
6d3a1c5fa6
Feature/active elements on top ( #9920 )
...
* add flag to draw active items on top
* add documentation and types
* remove redundent check
* added test
* resolve linting errors
* increase tollerance
* remove axes for better test, hope no tolerance needed
2021-12-05 08:56:53 -05:00
Jukka Kurkela
cd9d5289a4
Add borderJoinStyle option for arc elements ( #9877 )
...
* Add borderJoinStyle option for arc elements
* docs + types
* Consistently enumerate the possible choices
2021-12-05 08:56:37 -05:00
Jukka Kurkela
f10fab6591
Fix tooltip caret position when it is positioned at the corners ( #9922 )
...
* Fix tooltip caret position when at the corners
* Add test
Co-authored-by: Dirk Gausmann <di.gaus@gmx.de>
2021-11-30 00:02:00 +02:00
Evert Timberg
7cbc47becc
Chart area boxes receive 0 margin during the final layout process ( #9915 )
2021-11-28 10:25:27 -05:00
Jukka Kurkela
0dc733a96c
Configure all datasets before updating any ( #9872 )
...
* Update misleading sample comment
* Configure all datasets before updating any
2021-11-18 00:09:25 +02:00
Jukka Kurkela
18fc9760e1
Fix stacked fill with lines over multiple scales ( #9767 )
2021-10-15 08:00:14 -04:00
Jukka Kurkela
81acad9f2b
Bubble: Properly parse radius for non-object data ( #9764 )
2021-10-15 07:57:39 -04:00
Jukka Kurkela
9a47395010
Fix controller.getMinMax for stacked charts ( #9766 )
2021-10-14 00:24:38 +03:00
Jukka Kurkela
10292c6912
Linear: determine grace amount from range ( #9719 )
2021-10-04 17:43:04 -04:00
Jukka Kurkela
e1ae5e6abf
Add layout.autoPadding option ( #9716 )
2021-10-04 14:01:10 -04:00
Jukka Kurkela
c3a53f06d7
Bar: fix too thick borders ( #9678 )
2021-09-25 07:52:03 +03:00
Jukka Kurkela
183a1a9f67
Fix segment styling with gaps ( #9644 )
2021-09-13 16:31:34 -04:00
Evert Timberg
f5c9a656ef
Configurable tooltip box padding ( #9625 )
2021-09-06 09:13:21 -04:00
Evert Timberg
71fa55acac
Add parsing support to pie/doughnut charts ( #9622 )
2021-09-05 13:46:26 -04:00
Evert Timberg
0cdadd2560
Enable per-corner border radius in tooltip ( #9620 )
2021-09-05 13:07:28 -04:00
Jukka Kurkela
8d68b119bc
Fix control points on animated line w/o border ( #9592 )
...
Co-authored-by: Jukka Kurkela <jukka.kurkela@scmbest.fi>
2021-09-01 20:39:48 -04:00
Alex Van Liew
f8a9d60fd5
[feat] support crossAlign on mirrored y-axis ( #9563 )
2021-08-18 07:48:36 -04:00
Jukka Kurkela
b32fb48574
Bar: add 'middle' option for borderSkipped ( #9452 )
...
* Bar: add 'middle' option for borderSkipped
* Split in 2
2021-07-21 07:13:45 -04:00
Jukka Kurkela
cf951ac611
Add ability to hide specific data element ( #9450 )
2021-07-21 07:08:02 -04:00
Jukka Kurkela
92e39a295d
Apply segment styles with only single segment ( #9447 )
2021-07-20 08:45:18 -04:00
Jukka Kurkela
ba2f158dc6
Fix interaction on partially visible bar ( #9446 )
2021-07-20 07:57:56 -04:00
Jukka Kurkela
566d722431
Don't draw points outside chartArea ( #9443 )
2021-07-20 07:52:41 -04:00
Jacco van den Berg
259f8e8471
lower default value of grid z index so it draws behind chart elements ( #9426 )
2021-07-16 11:16:31 -04:00
Jukka Kurkela
0094a58ef1
Properly update stacks when datasets index changes ( #9425 )
2021-07-16 07:15:54 -04:00
Evert Timberg
11045a731a
Fix center axis title positions ( #9413 )
...
* Fix the title positions for center positioned axes
* Handle center position for vertical axes
* Tests
2021-07-15 08:20:22 -04:00
Jukka Kurkela
fb45d8aa95
Update a failing fixture ( #9414 )
2021-07-14 07:39:22 -04:00
Jukka Kurkela
58999ea7ac
Bar: inflate rects by 0.33px to avoid artifacts ( #9399 )
...
* Bar: inflate rects by 0.33px to avoid artifacts
* Update fixture
* YAGNI
2021-07-13 18:20:24 -04:00
Jukka Kurkela
c3e709e90e
Fix bar direction when minBarLength is applied ( #9400 )
2021-07-13 08:02:14 -04:00
Jukka Kurkela
31be610001
Fix stacked box dimension calculation with weights ( #9394 )
...
* Fix stacked box dimension calculation with weights
* Fix typo in filename
2021-07-12 07:45:03 -04:00
Jukka Kurkela
47d4b04836
Layout: support box stacking ( #9364 )
...
* Layout: support box stacking
* Add stackWeight and sample
* Cleanup, update docs and types
* Avoid div0
* missing semi
2021-07-11 06:23:42 -04:00
Evert Timberg
27b91b7458
Adjust legend hitboxes when RTL and each item has a different size ( #9353 )
...
* Adjust legend hitboxes when RTL and
each item has a different size
* Add test for RTL legend hitboxes
2021-07-10 18:36:46 -04:00
Evert Timberg
774c444cb9
Point label specific scriptable context ( #9373 )
2021-07-09 06:57:55 -04:00
Jukka Kurkela
840599637f
Add 'shape' mode for filler-plugin ( #9360 )
2021-07-05 17:03:19 -04:00
Jukka Kurkela
bb2bddcfd4
Timeseries: support panning ( #9345 )
...
* Timeseries: support panning
* Update
* Missing semi, reduntant variables.
* cc
2021-07-03 18:44:44 +03:00
Evert Timberg
fea3f20762
Account for floating point error in niceNum helper ( #9343 )
...
* Account for floating point error in niceNum helper
* Better solution
2021-07-01 15:07:32 -04:00
Evert Timberg
3934935caa
Enable pointStyle for doughnut, pie, and polar area charts ( #9341 )
...
* Enable pointStyle for doughnut, pie, and polar area charts
* Fix whitespace
2021-07-01 14:15:06 -04:00
Jukka Kurkela
c6976e8975
New plugin: subtitle ( #9294 )
...
* New plugin: subtitle
* Fix naive error for multiple charts
2021-06-20 07:34:55 -04:00