The dashboard view model
Each of the four charts in the dashboard has its own data source and these are specified in the bind configuration for each. The definitions for these sources are in the dashboard view model:
// app/view/dashboard/DashboardModel.js Ext.define('Instrumatics.view.dashboard.DashboardModel', { extend: 'Ext.app.ViewModel', alias: 'viewmodel.dashboard-dashboard', stores: { webLogs: { type: 'logstream', filters: [{ property: 'type', value: 'web' }] }, sqlLogs: { type: 'logstream', filters: [{ property: 'type', value: 'sql' }] }, historicalWebLogs: { type: 'logentries', filters: [{ property: 'type', value: 'web' }] }, historicalSqlLogs: { type: 'logentries', filters: [{ ...