Graphing Configuration for 2.17

These changes adjust the graph configuration modal slightly to support the additions and changes to the graph configuration options that will be introduced in 2.17. There is also a migration here to support the change of `x-lable-count` and `y-label-count` to `x-labels` and `y-labels`. There should only be a handful of apps that need to be altered.

**DO NOT MERGE** until 2.17 is released.
F821 undefined name 'sys'