[GNC] Customising colors on Cash Flow Barchart
Adrien Monteleone
adrien.monteleone at lusfiber.net
Mon Jun 5 11:23:20 EDT 2023
Maybe.
Options > General for the report allows you to set a Stylesheet. This
list is populated from those found in Edit > Stylesheets where you can
modify an existing one, use the CSS stylesheet, or create your own.
However, the charts are created with JavaScript and I'm not sure how to
create CSS rules that target those elements. (I've just never had to do
so before, though I'm sure it is possible.) But you can export a chart
as an HTML file, then open it in a text editor to examine. Or better,
open it in any modern browser and use the built in inspector to play
with it and figure out how to craft CSS rules that work.
Then create a Saved Report Configuration using your stylesheet with the
new rules.
If for any reason you can't directly target those bars with CSS, then
you'd have to file an Enhancement Request to expose them to CSS for
doing so.
Regards,
Adrien
On 6/5/23 2:59 AM, Graham Ward wrote:
> ideally, I would like to edit the colors in GnuCash. I can export the data
> and recreate the chart, but that's not very interactive and has to be
> repeated each time.
More information about the gnucash-user
mailing list