text: /*
   * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
   * or more contributor license agreements. Licensed under the Elastic License;
   * you may not use this file except in compliance with the Elastic License.
   */
  
  import header from './header.png';
  
  export const horizontalBarChart = () => ({
    name: 'horizontalBarChart',
    displayName: 'Horizontal bar chart',
    help: 'A customizable horizontal bar chart',
    image: header,
    expression: `filters
  | demodata
  | pointseries x="size(cost)" y="project" color="project"
  | plot defaultStyle={seriesStyle bars=0.75 horizontalBars=true} legend=false
  | render`,
  });
  