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/VisitorInterest/VisitorInterest.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/VisitorInterest/VisitorInterest.php')
-rw-r--r-- | plugins/VisitorInterest/VisitorInterest.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index a656e73804..6ea2c4eb69 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -166,13 +166,17 @@ class Piwik_VisitorInterest extends Plugin 'filter_sort_column' => 'label', 'filter_sort_order' => 'asc', 'translations' => array('label' => Piwik_Translate('VisitorInterest_ColumnVisitDuration')), - 'graph_limit' => 10, 'enable_sort' => false, 'show_exclude_low_population' => false, 'show_offset_information' => false, 'show_pagination_control' => false, 'show_search' => false, 'show_table_all_columns' => false, + 'visualization_properties' => array( + 'JqplotGraph' => array( + 'max_graph_elements' => 10 + ) + ) ); } @@ -183,13 +187,17 @@ class Piwik_VisitorInterest extends Plugin 'filter_sort_column' => 'label', 'filter_sort_order' => 'asc', 'translations' => array('label' => Piwik_Translate('VisitorInterest_ColumnPagesPerVisit')), - 'graph_limit' => 10, 'enable_sort' => false, 'show_exclude_low_population' => false, 'show_offset_information' => false, 'show_pagination_control' => false, 'show_search' => false, 'show_table_all_columns' => false, + 'visualization_properties' => array( + 'JqplotGraph' => array( + 'max_graph_elements' => 10 + ) + ) ); } |