refactored annual rainfall chart to use the chart configurator