Task + Sub Task for Custom Chart

The "sub task " & "Task + Subtask " is not working.
When creating a custom chart, selecting “sub task” or “Task & subtask” doesn’t show subtask in the value. only the main task is counted in the chart bar.

Also the Custom chart section needs some work. editing existing chart and clicking on save, will cause another chart to be added to the analysis page.