MDL-55030 core: Support setting defaults in charts