add a helper function which will determine if the scale in question expects continuous or categorical values.
Add better support for scale detection. Previously we assumed (wrongly) that the dimension's scale was either ordinal or linear. Now charts can use other scales, which want either continuous or ordinal values.