initial upload of new Javascript Frontend based on ExtJS (by Johannes)
- contains ExtJS Library 4.1.1a, together with css and images - is related to the module 93_DbLog.pm, which holds some functions used by the frontend git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2767 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
16
www/frontend/app/model/ChartModel.js
Normal file
16
www/frontend/app/model/ChartModel.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Model for Charts
|
||||
*/
|
||||
Ext.define('FHEM.model.ChartModel', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: [
|
||||
{
|
||||
name: 'TIMESTAMP',
|
||||
type: 'date',
|
||||
dateFormat: "Y-m-d H:i:s"
|
||||
},{
|
||||
name: 'VALUE',
|
||||
type: 'float'
|
||||
}
|
||||
]
|
||||
});
|
||||
Reference in New Issue
Block a user