Graphing: Fix #396, QVariants use both floats, and doubles