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

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