Subject: | Option -legendfont does not work for Tk::Chart::Bars - |
The error is: Can't set -legendfont to `{Arial} 8 {normal}' for Tk::Chart::Bars=HASH(0x7b1e1cc): Bad option `-legendfont'
Here is what I tried:
my $chart = $frame_gfx->Bars(
-title => 'Title',
-legendfont => '{Arial} 8 {normal}',
-xlabel => 'X',
-ylabel => 'Y',
-background => 'white',
-showvalues => 1,
)->pack(-fill => 'x', -expand => 1, -anchor => 'n',);
It's a bit dubious, as it works fine for a Tk::Chart::Pie.