mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
18 lines
432 B
JavaScript
18 lines
432 B
JavaScript
![]() |
/**
|
||
|
* Store for the Charts
|
||
|
*/
|
||
|
Ext.define('FHEM.store.ChartStore', {
|
||
|
extend: 'Ext.data.Store',
|
||
|
model: 'FHEM.model.ChartModel',
|
||
|
proxy: {
|
||
|
type: 'ajax',
|
||
|
method: 'POST',
|
||
|
url: '', //gets set by controller
|
||
|
reader: {
|
||
|
type: 'json',
|
||
|
root: 'data',
|
||
|
totalProperty: 'totalCount'
|
||
|
}
|
||
|
},
|
||
|
autoLoad: false
|
||
|
});
|