Search Results: "Zanechat komentář" "URL internetov%E9 str%E1nky" 00webhost
- All Results 259
- Guides 82
- Reference 177
- Technical Demos
- Support Center
JSON Data
To bind the PieChart to data in a JSON format, assign the data's URL to the dataSource property. jQuery index.js $(function() { $("#pieChartContainer").dxPieChart({ dataSource: "http://www.example.com/dataservices/data.json", // ... }); }); Angular app.component.htmlapp.module.ts <dx-pie-chart dataSource="http://www.example.com/dataservices/data.json"> <
JSON Data
To bind the Sankey to data in a JSON format, assign the data's URL to the dataSource property. jQuery index.js $(function() { $("#sankeyContainer").dxSankey({ dataSource: "http://www.example.com/dataservices/data.json", // ... }); }); Angular app.component.htmlapp.module.ts <dx-sankey dataSource="http://www.example.com/dataservices/data.json"> <
JSON Data
Load JSON data by assigning its URL to the dataSource property. jQuery JavaScript$(function() { $("#tagBoxContainer").dxTagBox({ dataSource: "https://jsonplaceholder.typicode.com/users", valueExpr: 'username', displayExpr: 'name' }); }); Angular HTMLTypeScript <dx-tag-box dataSource="https://jsonplaceholder.typicode.com/users" valueExpr="username
Using Webpack
" }] } ] ... In addition, open the package.json file and ensure style-loader, css-loader, and url-loader are listed in devDependencies. Import Stylesheets Open the main .ts file and import a predefined theme
Custom Data Sources
) { // ... }, insert: function(values) { var deferred = $.Deferred(); $.ajax({ url: "https://mydomain.com/MyDataService/", method: "POST..."); }); return deferred.promise(); }, remove: function(key) { var deferred = $.Deferred(); $.ajax({ url: "https://mydomain.com/MyDataService