[Looker] Chart Config - Moving legend to the bottom of a pie chart

I tried all the suggestions from Highcharts but I still can't move the legend to the bottom and make items be next to each other horizontally and centered. Anybody knows if that could be caused by top-level CSS of Looker itself?

Dawid_0-1720791225999.png

 

 

Solved Solved
0 2 136
1 ACCEPTED SOLUTION

Hey there! It looks like there may be a bug with highcharts; clearing the chart.events should force the override to apply correctly.

{
  chart: {
    events: null,
  },
  legend: {
    align: 'center',
    verticalAlign: 'bottom',
    layout: 'horizontal',
  },

 

centered.png

View solution in original post

2 REPLIES 2

Hey there! It looks like there may be a bug with highcharts; clearing the chart.events should force the override to apply correctly.

{
  chart: {
    events: null,
  },
  legend: {
    align: 'center',
    verticalAlign: 'bottom',
    layout: 'horizontal',
  },

 

centered.png

Thank you Emma, can you explain why the nullifying of the events helped in this case?

Top Labels in this Space