diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-08-05 02:46:23 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-08-05 02:46:23 +0400 |
commit | 2615404eab2e96048583caccf86248af2dd90d9b (patch) | |
tree | 0d85d6b4dcc2bb61bd244d29b99aaf2378fbc131 /plugins/DBStats/DBStats.php | |
parent | cf8d0a51591e39ecf8aa8f4c09b5672ec2d312cd (diff) |
Refs #4040, #4041, move visualization only view properties to separate visualizations, changed JavaScript properties to 'client side parameters' and 'overridable properties' to 'client side properties', changed keep_summary_row from a JavaScript property to a client side property, allowed visualization properties to be inherited, fixed system that allowed visualizations to set custom defaults for property values, modified behavior of datatable_css_class viewdatatable property, allow view properties to be customized in metadata based on the visualization used, and tweaks to UI Integration tests.
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r-- | plugins/DBStats/DBStats.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index def12d84a4..8cbbeaa961 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -105,7 +105,7 @@ class Piwik_DBStats extends Plugin $result['show_offset_information'] = false; $result['show_pagination_control'] = false; - $result['show_all_ticks'] = true; + $result['visualization_properties']['JqplotGraph']['show_all_ticks'] = true; // translate the labels themselves $valueToTranslationStr = array( @@ -256,7 +256,7 @@ class Piwik_DBStats extends Plugin $properties['show_tag_cloud'] = false; $properties['show_table_all_columns'] = false; $properties['keep_summary_row'] = true; - $properties['disable_row_evolution'] = true; + $properties['visualization_properties']['HtmlTable']['disable_row_evolution'] = true; $properties['translations'] = array( 'label' => Piwik_Translate('DBStats_Table'), 'year' => Piwik_Translate('CoreHome_PeriodYear'), |