MMTMMT Docs
Diagnostics

S006

duplicate panel name

S006

Two panels in one surface use the same name. Give every panel a distinct stable name.

Failing example

script "example"
window dashboard = window("Dashboard") {
  main: chart.panel("First")
  main: chart.panel("Second")
}

Corrected example

script "fixed"
window dashboard = window(title: "Dashboard") {
  main: chart.panel(title: "Main")
  details: chart.panel(title: "Details")
}

On this page