index to support multiple chart types