1 | <!doctype html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>LineChart - Overview</title> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
---|
7 | <meta name="description" content="%description%" /> |
---|
8 | <meta name="keywords" content="" /> |
---|
9 | <meta name="author" content="ComponentOne" /> |
---|
10 | <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" /> |
---|
11 | <link href="../../../../Wijmo-Open/development-bundle/themes/wijmo/jquery.wijmo.wijslider.css" rel="stylesheet" type="text/css" /> |
---|
12 | <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script> |
---|
13 | <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script> |
---|
14 | <script src="../../../../Wijmo-Open/development-bundle/wijmo/jquery.wijmo.wijutil.js" type="text/javascript"></script> |
---|
15 | <script src="../../../../Wijmo-Open/development-bundle/wijmo/jquery.wijmo.wijslider.js" type="text/javascript"></script> |
---|
16 | <script src="../../external/globalize.min.js" type="text/javascript"></script> |
---|
17 | <script src="../../external/raphael-min.js" type="text/javascript"></script> |
---|
18 | <script src="../../wijmo/jquery.wijmo.raphael.js" type="text/javascript"></script> |
---|
19 | <script src="../../wijmo/jquery.wijmo.wijgauge.js" type="text/javascript"></script> |
---|
20 | <script src="../../wijmo/jquery.wijmo.wijradialgauge.js" type="text/javascript"></script> |
---|
21 | <script src="../../../../Wijmo-Open/development-bundle/external/knockout-2.0.0.js" type="text/javascript"></script> |
---|
22 | <script src="../../../../Wijmo-Open/development-bundle/external/knockout.wijmo.js" type="text/javascript"></script> |
---|
23 | <script type="text/javascript"> |
---|
24 | //Create ViewModel |
---|
25 | var viewModel = function () { |
---|
26 | var self = this; |
---|
27 | self.val = ko.observable(50); |
---|
28 | self.disabled = ko.observable(false); |
---|
29 | }; |
---|
30 | |
---|
31 | //Bind ViewModel |
---|
32 | $(document).ready(function () { |
---|
33 | var vm = new viewModel(); |
---|
34 | ko.applyBindings(vm, $(".container").get(0)); |
---|
35 | }); |
---|
36 | </script> |
---|
37 | </head> |
---|
38 | <body class="demo-single"> |
---|
39 | <div class="container"> |
---|
40 | <div class="header"> |
---|
41 | <h2> |
---|
42 | Overview</h2> |
---|
43 | </div> |
---|
44 | <div class="main demo"> |
---|
45 | <!-- Begin demo markup --> |
---|
46 | <p> |
---|
47 | </p> |
---|
48 | <div data-bind="wijslider: {value: val}" style="width: 600px;"> |
---|
49 | </div> |
---|
50 | <p> |
---|
51 | </p> |
---|
52 | <div data-bind="wijradialgauge: {value: val }"> |
---|
53 | </div> |
---|
54 | <!-- End demo markup --> |
---|
55 | <div class="demo-options"> |
---|
56 | <!-- Begin options markup --> |
---|
57 | ViewModel Value: |
---|
58 | <input type="text" data-bind="value: val" /> |
---|
59 | <!-- End options markup --> |
---|
60 | </div> |
---|
61 | </div> |
---|
62 | <div class="footer demo-description"> |
---|
63 | <p> |
---|
64 | Wijmo provides a Knockout Integration Library so that all jQuery UI and Wijmo widgets can be used with Knockout declarative syntax. |
---|
65 | </p> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | </body> |
---|
69 | </html> |
---|