<commit_before>/**
 * 
 */
Ext.define("TrackAnnot.view.Metric.Properties", {
	extend: 'Ext.Panel',
    requires : ['Ext.data.StoreManager'],
    alias: 'widget.trackprops',
    autoScroll: true,
    tpl: [
       'DT: {[values.date_time.toISOString()]}, Lon: {lon}, Lat: {lat}, ',
       'Alt: {altitude}, Temp: {temperature}, ',
       'Ground: {ground_elevation}, ',
       'Instantaneous speed: {speed}, Instantaneous direction: {direction}, ',
       'Delta instantaneous direction: {delta_direction}, ',
       'Traject speed: {tspeed}, Traject direction: {tdirection}, ',
       'Acceleration: <tpl if="time_acceleration"><table>',
       '<tr><th>O</th><tpl for="time_acceleration"><td>{.}</td></tpl></tr>',
       '<tr><th>X</th><tpl for="x_acceleration"><td>{.}</td></tpl></tr>',
       '<tr><th>Y</th><tpl for="y_acceleration"><td>{.}</td></tpl></tr>',
       '<tr><th>Z</th><tpl for="z_acceleration"><td>{.}</td></tpl></tr>',
       '<tpl else>NA</tpl>'
    ],
    config: {
    	trackStore: 'Track'
    },
    constructor : function(config) {
        this.callParent(arguments);
        this.initConfig(config);
    },
    applyTrackStore: function(store) {
        store = Ext.data.StoreManager.lookup(store);
        return store;
    },<commit_msg>Draw direction as arrow in track properties panel.<commit_after>/**
 * 
 */
Ext.define("TrackAnnot.view.Metric.Properties", {
	extend: 'Ext.Panel',
    requires : ['Ext.data.StoreManager'],
    alias: 'widget.trackprops',
    autoScroll: true,
    tpl: [
       '<div>DT: {[values.date_time.toISOString()]}, Lon: {lon}, Lat: {lat}, ',
       'Alt: {altitude}, Temp: {temperature}, ',
       'Ground: {ground_elevation}, ',
       'Instantaneous speed: {speed}, Instantaneous direction: {direction}, ',
       'Delta instantaneous direction: {delta_direction}, ',
       'Traject speed: {tspeed}, Traject direction: {tdirection}',
       'Acceleration: <tpl if="time_acceleration"><table>',
       '<tr><th>O</th><tpl for="time_acceleration"><td>{.}</td></tpl></tr>',
       '<tr><th>X</th><tpl for="x_acceleration"><td>{.}</td></tpl></tr>',
       '<tr><th>Y</th><tpl for="y_acceleration"><td>{.}</td></tpl></tr>',
       '<tr><th>Z</th><tpl for="z_acceleration"><td>{.}</td></tpl></tr>',
       '</table><tpl else>NA</tpl></div>',
       '<svg height="100" width="100">',
       '<polygon points="50,5 40,95 60,95" style="fill:none;stroke:steelblue;" transform="rotate({direction} 50 50)"/>',
       '<polygon points="50,5 40,95 60,95" style="fill:none;stroke:chocolate;" transform="rotate({tdirection} 50 50)"/>',
       '</svg>'
    ],
    config: {
    	trackStore: 'Track'
    },
    constructor : function(config) {
        this.callParent(arguments);
        this.initConfig(config);
    },
    applyTrackStore: function(store) {
        store = Ext.data.StoreManager.lookup(store);
        return store;
    },
{'fraction_non_alphanumeric': 0.22040958000694202, 'fraction_numerical': 0.012495661228740022, 'mean_word_length': 3.4821150855365475, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 82, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5498696', 'n_tokens_mistral': 989, 'n_tokens_neox': 981, 'n_words': 157}