Pie Chart on basis of Tag Filter

Hi,

I want to show (on “Overview” page) a pie chart for some devices that have specific tag only. e:g devices that has tag ABCD should show in separate pie-chart.

Please advise how to config and add tag filter.

Thanks in advance.

Admin → Config → Edit charts

mode:
  label: '"Mode"'
  slices:
    1_managed:
      color: "'#44b3c2'"
      filter: Tags.Managed IS NOT NULL
      label: "'Managed'"
    2_bridged:
      color: '"#c58744"'
      filter: Tags.Bridged IS NOT NULL
      label: "'Bridged'"

Many Thanks.