stockiNail
|
57bbd8229d
|
Fix mismatch between hit boxes and drawn items in legend plugin (#11352)
* Fix mismatch between hit boxes and drawn items in legend plugin
* fixes padding calculation
|
2023-06-20 18:20:12 +02:00 |
|
Kartik
|
1253ceddb1
|
FIX: render multiline legend items without overlapping (#10532) (#10641)
* FIX: render multiline legend items without overlapping (#10532)
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* CLN: Extract method to fix codeclimate line count
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* CLN: Shift helper methods from class to module scope
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* TST: Add test with fixtures
Co-authored-by: kartik <codebull707@gmail.com>
* FIX: Fix test case for multiline label
Co-authored-by: kartik <codebull707@gmail.com>
* 10532-ENH: Calculate legend item width for multiline labels
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-TST: use spriteText and non-empty labels for test
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-FIX: failing test case due to legendItem.text being undefined
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
* 10532-FIX: Update compression size
Co-authored-by: kartik <codebull707@gmail.com>
Co-authored-by: Nirav Chavda <nmchavda99@gmail.com>
|
2022-09-16 09:46:53 -04:00 |
|
Dominic Jean
|
0edb2ac604
|
enable pointStyleWidth for all legend style (#10639)
|
2022-09-01 06:37:12 -04:00 |
|
Evert Timberg
|
7cbc47becc
|
Chart area boxes receive 0 margin during the final layout process (#9915)
|
2021-11-28 10:25:27 -05: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
|
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
|
87bd5785ff
|
Legend: fix layout padding handling (#9290)
|
2021-06-19 18:31:33 -04:00 |
|
Evert Timberg
|
be011768fe
|
Fix rtl legend text alignment (#9199)
* Start fixing RTL
* Broken test
* Fix right alignment for horizontal legends
|
2021-06-01 18:36:55 +03:00 |
|
Evert Timberg
|
d6d189c804
|
Legend boxes support borderRadius (#8875)
|
2021-04-10 15:05:34 -04:00 |
|
Jukka Kurkela
|
97136d0cbf
|
Add textAlign for legend labels (#8665)
* Add textAlign for legend labels
* Update tests
|
2021-03-18 07:37:03 -04:00 |
|
Jukka Kurkela
|
282c85827a
|
Re-enable oversized boxes (#8662)
|
2021-03-18 07:12:43 -04:00 |
|
Jukka Kurkela
|
6f0e7959df
|
Only consider visible vertical boxes in layout (#8483)
|
2021-02-21 15:43:31 -05:00 |
|
Jukka Kurkela
|
ddfbcf777a
|
Update eslint-config-chartjs to v0.3.0 (#8406)
|
2021-02-10 08:21:39 -05:00 |
|
Jukka Kurkela
|
7a2acebc28
|
Layout: enforce box limits, reject <0 chartArea (#8193)
* Skip chartArea boxes when chartArea <= 0
* Legend: limit to maxWidth/maxHeight
* Layout: enforce box limits, reject <0 chartArea
* Update legend fixtures
|
2020-12-18 12:56:04 -05:00 |
|
Jukka Kurkela
|
979cd4131b
|
Fix legend alignment issues (#8168)
|
2020-12-15 08:50:13 +02:00 |
|
Jukka Kurkela
|
913a01a3a6
|
Move title, tooltip and legend to options.plugins (#8089)
* Move title, tooltip and legend to options.plugins
* Update tooltip.md
* Update legend.md and title.md
* Add migration notes
* typo
* Types
* Restore plurals
* One more s, restore tabs
* All plugins disabled
* lint
* cc
|
2020-11-25 08:50:12 +02:00 |
|
Dave Kichler
|
07fae6159e
|
Implement legend.align: 'start', 'center', 'end' (#6141)
New `options.legend.align`config option for controlling alignment of legend blocks in horizontal/vertical legends.
|
2019-03-23 10:25:17 +01:00 |
|