Add gridline configuration to chart options.