Partial fix for #13 - This will prevent chart render to fail.