Rewrote the chart functions info show_chart_generic().