e("demoApp", ["jqwidgets"]);
        demoApp.controller("demoController", function ($scope) {
            $scope.bulletChartSettings = {
                width: 500,
                height: 80,
                barSize: "40%",
                title: "Revenue 2014 YTD",
                description: "(U.S. $ in thousands)",
                ranges: [
                    { startValue: 0, endValue: 200, color: "#000000", opacity: 0.5 },
                    { startValue: 200, endValue: 250, color: "#000000", opacity: 0.3 },
                    { startValue: 250, endValue: 300, color: "#000000", opacity: 0.1 }
                ],
                pointer: { value: 70, label: "Revenue 2014 YTD", size: "25%", color: "Black" },
                target: { value: 260, label: "Revenue 2013 YTD", size: 4, color: "Black" },
                ticks: { position: "both", interval: 50, size: 10 },
                labelsFormat: "c",
                showTooltip: true
            };

            // set bullet chart value.
            $scope.setValue = function () {
                $scope.bulletChartSettings.pointer.value = 270;
            }
        });
    </script>
</head>
<body>
    <div ng-controller="demoController">
        <jqx-bullet-chart jqx-settings="bulletChartSettings" jqx-watch="bulletChartSettings.pointer"></jqx-bullet-chart>
        <br />
        <br />
        <jqx-button jqx-on-click="setValue()">Set Value</jqx-button>
    </div>
</body>
</html>
