chart rendering working