moving data range code to separate files.
fixing mini graph styles.
Merge remote-tracking branch 'origin/wiht-gadgets' into wiht-gadgets