When using string x-values, allow minMaxValues to work.

if you use the category plugin, this plugin breaks as the min and max values will be strings. If the min and max are strings, use 0 and data length.