Allow overriding of all chart options

Created on 22 February 2021, over 3 years ago
Updated 17 April 2024, 7 months ago

Problem/Motivation

From reading your code I discovered how you can override the default chart 'type' by adding a field to the entity. This should be pointed out on the docs BTW.

But I would like to customize other options so this patch takes that same logic but tests if there are other fields

Steps to reproduce

With this patch you can now create fields that can be used to customize charts further. Such as a drop down to control the position of the label. `field_chart_OPTIONTOCUSTOMIZE`

Proposed resolution

Using this same naming convention let people override other default chart options

✨ Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States NicholasS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024