[sw] support multiple chart types