set opacity on chart when it loading