amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
353 stars 95 forks source link

Label fill can now be a linear gradient #1648

Closed Logikgate closed 3 months ago

Logikgate commented 3 months ago

In amcharts 4 it was possible to use a linear gradient as the fill for a label. In amcharts 5 this is not possible (ref #1636).

In amcharts 5 you can use the html property to set a linear gradient fill but then that label cannot be exported anymore (ref #1645)

This pull request adds the ability for the fill property of a label to be a linear gradient so that those labels can still be exported.

If there are any changes that need to be made in order to merge this pull request please let me know and I'll make them as soon as possible.

Logikgate commented 3 months ago

Closing as this functionality has been implemented in version 5.10.1.