github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/pkg/steampipeconfig/testdata/mods/dashboard_base_inheritance/report.sp (about)

     1  // this dashboard is a simple dashboard containing charts with axes.
     2  // we are testing the parsing and the inheritance of the base values.
     3  
     4  query basic_query {
     5    sql = "select 1"
     6  }
     7  
     8  chart basic_chart {
     9    type = "column"
    10    sql = query.basic_query.sql
    11    grouping = "compare"
    12    legend {
    13      position = "bottom"
    14    }
    15    axes {
    16      x {
    17        title {
    18          display = "always"
    19          value = "Foo"
    20        }
    21      }
    22      y {
    23        title {
    24          display = "always"
    25          value = "Foo"
    26        }
    27      }
    28    }
    29  }
    30  
    31  dashboard inheriting_from_base {
    32    title = "inheriting_from_base"
    33  
    34    chart {
    35      base = chart.basic_chart
    36      width = 8
    37      axes {
    38        x {
    39          title {
    40            value = "Barz"
    41          }
    42        }
    43      }
    44    }
    45  }