Revenue Breakdown

This example shows how to display hierarchical data, such as a revenue breakdown, in the card layout using a tree column.

This example shows how to display hierarchical data, such as a revenue breakdown, in the card layout using a tree column. The layout can have three different orientations to fit effectively into your application: left, center, and right. The default card layout engine provides an option called hierarchy in which you can configure the hierarchical information for your data. For example, hierarchy: The 'parentField' and 'keyField' in hierarchy.descriptor are two key settings that help the grid build data items as a tree: 'parentField' indicates that the parent of each data record is stored in this property 'keyField' is the unique property that is used to find its parent item.
<!DOCTYPE html> <html lang="en"> <head> <base href="/dataviewsjs/demos/en/sample/DataViews/Card/RevenueBreakdown/purejs/" /> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="keywords" content="tree, treecard, tree card, hierarchy, hierarchical, parent child, chart" /> <meta name="description" content="This example shows how to display hierarchical data, such as a revenue breakdown, in the card layout using a tree column." /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Revenue Breakdown | Data Views | MESCIUS DataViewsJS JavaScript Demos</title> <link href="/dataviewsjs/demos/node_modules/normalize.css/normalize.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/css/base.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/css/bootstrap-snippet.min.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/dataviews/gc.dataviews.core.min.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/dataviews/gc.dataviews.cardlayout.min.css" rel="stylesheet" type="text/css" /> <link href="styles.css" rel="stylesheet" type="text/css" /> <script src="/dataviewsjs/demos/static/js/app-polyfills.min.js" type="text/javascript"></script> <script type="text/javascript"> window.process = { env: { NODE_ENV: 'production', USE_NPM: false, USE_CDN: false, SITE_ROOT: '/dataviewsjs/demos', FRAMEWORK: 'purejs', DVJS_LICENSE_KEY: 'E348418822993781#B0EWvwY4dNNVQqJHUDpFROVWe5ZWNYFlVQFmRsJWRht4Z6lDO4Vla7YUaXhEWxd7Z5YXMuRnY7tWTQR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evZlV9dkaysCO7hTRQFHcGRWQyc5LI9kQmB7QwR4Z7ZHOR3CSXp6SiFWYzFXeXZUSp94K8VDTkFjdwl4KptSYlRWcDxmNE5kS6kzdrkVcNJXROVGbLJkcTNGRzIER8tmd4YGNhh7dxAnMvIHRv46VtBXS4U5KvJ6dZJ6M5p4TxIjd9I5QSpXTTV6SDZXb7lzaL56ZiojITJCLikTQxUTQFV4NiojIIJCLyETO7UzM7kTO0IicfJye&amp;Qf35VfikkR9IkI0IyQiwiIyEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsISNwkTN6ADI8EDMxMjMwIjI0ICdyNkIsIyc59yc5l6YzVWbuoCLwpmLzVXajNXZt9iKs2WauMXdpN6cl5mLqwSbvNmLzVXajNXZt9iKsAnau26YuMXdpN6cl5mLqwSbvNmL6VGZ9RXajVGchJ7ZuoCLuNmLt36YukHdpNWZwFmcn9iKs46bj9Se4l6YlBXYydmLqwicr9ybj9Se4l6YlBXYydmLqwCcq9ybj9Se4l6YlBXYydmLqIiOiMXbEJCLiMVVJN4UF5kI0ISYONkIsUWdyRnOiwmdFJCLiYzMyUjNxIDNxUDO5gTM5IiOiQWSiwSfdtlOicGbmJCLlNHbhZmOiI7ckJye0ICbuFkI1pjIEJCLi4TPRtGOhtWWEFWd4IDOLRVRvx4SyMGcDhTW6n4ep', }, }; </script> <script src="/dataviewsjs/demos/node_modules/jquery/dist/jquery.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/dataviews/gc.dataviews.common.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/dataviews/gc.dataviews.core.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/dataviews/gc.dataviews.cardlayout.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/js/license.js" type="text/javascript"></script> </head> <body class="theme-default"> <noscript>You need to enable JavaScript to run this app.</noscript> <template id="card-template"> <div class="v-container"> <div class="c-container"> <div> <div class="project-name" data-column="name"></div> <div class="project-overall"> <div class="overall-revenue"> <div class="revenue-unit">$</div> <div class="revenue-number" data-column="totalSales"></div> </div> <div class="overall-growth"> <div class="growth-content" data-column="growth"></div> <div class="growth-unit">of last year</div> </div> </div> <div class="project-history"> <div class="history-title">Annual Revenue</div> <div class="history-chart" data-column="barChart"></div> </div> </div> </div> </div> </template> <div class="main-container"> <div class="sample-options"> <div class="btn-group" role="group"> <button id="left" class="btn btn-default">Left</button> <button id="center" class="btn btn-default active">Center</button> <button id="right" class="btn btn-default">Right</button> </div> </div> <div class="outer"> <div class="inner"> <div id="grid" class="grid"></div> </div> </div> </div> <script src="data.js" type="text/javascript"></script> <script src="app.js" type="text/javascript"></script> </body> </html>
window.ColumnSparkline = GC.DataViews.ColumnSparkline; var cols = [ { id: 'id', dataField: 'id', visible: false, }, { id: 'parent', dataField: 'parent', visible: false, }, { id: 'name', dataField: 'name', }, { id: 'totalSales', dataField: '=sumx(hierarchy.children(true, true), [sales])', format: '#,##0', }, { id: 'totalSalesLastYear', dataField: '=sumx(hierarchy.children(true, true), [salesLastYear])', }, { id: 'totalSalesTwoYearBefore', dataField: '=sumx(hierarchy.children(true, true), [salesTwoYearBefore])', }, { id: 'totalSalesThreeYearBefore', dataField: '=sumx(hierarchy.children(true, true), [salesThreeYearBefore])', }, { id: 'growth', dataField: '=rounddown(([totalSales] - [totalSalesLastYear]) / [totalSalesLastYear] * 100, 2)', presenter: '{{?it.growth>=0}}<span class="growth-positive">+{{=it.growth}}%</span>{{??}}<span class="growth-negative">{{=it.growth}}%</span>{{?}}', }, { id: 'barChart', asyncRender: renderSparkline, }, { id: 'sales', dataField: 'sales', }, { id: 'salesLastYear', dataField: 'salesLastYear', }, { id: 'salesTwoYearBefore', dataField: 'salesTwoYearBefore', }, { id: 'salesThreeYearBefore', dataField: 'salesThreeYearBefore', }, ]; function renderSparkline(dataItem, container) { var names = ['totalSalesThreeYearBefore', 'totalSalesTwoYearBefore', 'totalSalesLastYear', 'totalSales']; var item = dataItem && names.map(function (name) { return dataItem[name]; }); if (item) { var sparkline = new window.ColumnSparkline({ values: item, setting: { minAxisType: 2, manualMin: 0, }, }); sparkline.paint(container); } } var dataView = new GC.DataViews.DataView( document.getElementById('grid'), data, cols, new GC.DataViews.CardLayout({ cardHeight: 240, cardWidth: 280, rowTemplate: '#card-template', hierarchy: { keyField: 'id', parentField: 'parent', collapsed: false, column: 'department', alignment: 'center', lineLength: 30, footer: { visible: false, }, }, }) ); function changeAlignment(name) { $('.sample-options .btn-group .btn').removeClass('active'); $('#'.concat(name)).addClass('active'); dataView.options.hierarchy.alignment = name; dataView.invalidate(); } $('#left').click(changeAlignment.bind(null, 'left')); $('#center').click(changeAlignment.bind(null, 'center')); $('#right').click(changeAlignment.bind(null, 'right'));
// revenue breakdown var data = [ { id: 1, name: 'Retail Sales', parent: null, }, { id: 2, name: 'Product', parent: 1, }, { id: 3, name: 'Software', sales: 1762000, salesLastYear: 1600000, salesTwoYearBefore: 1480300, salesThreeYearBefore: 1404000, parent: 2, }, { id: 4, name: 'Hardware', sales: 783000, salesLastYear: 700000, salesTwoYearBefore: 680000, salesThreeYearBefore: 580000, parent: 2, }, { id: 5, name: 'Services', parent: 1, }, { id: 6, name: 'Consulting', sales: 1000000, salesLastYear: 900000, salesTwoYearBefore: 800000, salesThreeYearBefore: 700000, parent: 5, }, { id: 7, name: 'Support', sales: 240000, salesLastYear: 250000, salesTwoYearBefore: 160000, salesThreeYearBefore: 120000, parent: 5, }, { id: 8, name: 'Design', sales: 90000, salesLastYear: 70000, salesTwoYearBefore: 20000, salesThreeYearBefore: 0, parent: 5, }, ];
#card-template { display: none; } .main-container { display: flex; flex-direction: column; width: 100%; height: 100%; } .sample-options { flex-grow: 0; flex-shrink: 0; display: flex; background: #fbfbfb; box-sizing: border-box; float: right; overflow: hidden; padding: 10px; } .outer { flex-grow: 1; flex-shrink: 1; width: 100%; height: 100%; overflow: scroll; position: relative; } .inner { height: 100%; position: relative; width: 1410px; } .grid { height: 100%; width: 100%; } .gc-viewport { background: url("/dataviewsjs/demos/images/grid-background.png"); } .grid .gc-cell.c1 { text-align: right; justify-content: flex-end; } /*card styles*/ /*virtual container*/ .v-container { height: 100%; padding: 30px 20px; width: 100%; } /*card container*/ .c-container { background-color: #fff; border: 1px solid #e0e0e0; border-radius: 4px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); height: 100%; padding: 10px; width: 100%; } .c-container .gc-cell { text-align: center; justify-content: center; } .c-container .gc-cell.revenue-number { color: #000; display: inline-block; font-size: 24px; text-align: left; vertical-align: middle; width: 130px; } .project-name { font-size: 18px; font-weight: bold; justify-content: center; } .project-overall { color: #a0a0a0; height: 40px; margin: 10px 0; vertical-align: middle; } .overall-revenue { display: inline-block; vertical-align: middle; } .revenue-unit { display: inline-block; font-size: 14px; margin-right: 2px; vertical-align: middle; } .overall-growth { display: inline-block; height: 40px; text-align: right; vertical-align: middle; } .overall-growth .gc-cell { text-align: right; } .growth-positive { color: #76b150; } .growth-negative { color: #ab5656; } .history-title { border-top: 1px solid #e0e0e0; color: #b8b8b8; text-align: center; } .history-chart { height: 56px; } /*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRhdGFWaWV3cy9DYXJkL1JldmVudWVCcmVha2Rvd24vcHVyZWpzL3N0eWxlcy5zY3NzIiwiRGF0YVZpZXdzL0NhcmQvUmV2ZW51ZUJyZWFrZG93bi9wdXJlanMvc3R5bGVzLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGFBQUE7QUNDRjs7QURFQTtFQUNFLGFBQUE7RUFDQSxzQkFBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0FDQ0Y7O0FERUE7RUFDRSxZQUFBO0VBQ0EsY0FBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtFQUNBLGdCQUFBO0VBQ0EsYUFBQTtBQ0NGOztBREVBO0VBQ0UsWUFBQ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