Update chart example for new spectrum module