chart demo init