func newDeviceCharts(device string) *module.Charts {
    charts := deviceChartsTmpl.Copy()

    for _, c := range *charts {
        c.ID = fmt.Sprintf(c.ID, device)