You can configure the chart according to your processes and needs in the “Issues” tab in the settings of all charts:

Calculate the sub-tasks

If you don’t want to add to the calculation sub-tasks, you can switch on the toggle: