add examples, support display with other types of charts