use radio buttons to switch the different diagramms on the result page