var Util;
(function (Util) {
    // generate some random data
    function getData() {
        var names = ['Oranges', 'Apples', 'Pears', 'Bananas', 'Pineapples'], data = [];
        // populate itemsSource
        for (var i = 0; i < names.length; i++) {
            data.push({
                name: names[i],
                value: Math.round(Math.random() * 100)
            });
        }
        return data;
    }
    Util.getData = getData;
    function getPalettes() {
        return ['standard', 'cocoa', 'coral', 'dark', 'highcontrast', 'light', 'midnight', 'minimal', 'modern', 'organic', 'slate'];
    }
    Util.getPalettes = getPalettes;
    // options for combo boxes
    function getPositions() {
        return 'None,Left,Top,Right,Bottom'.split(',');
    }
    Util.getPositions = getPositions;
    // format numbers and dates
    function format(value, format) {
        return wijmo.Globalize.format(value, format);
    }
    Util.format = format;
})(Util || (Util = {}));
//# sourceMappingURL=Util.js.map