Created
May 5, 2021 12:54
-
-
Save jackrabbithanna/72ddcc71d71ac8b6b744df8691990d14 to your computer and use it in GitHub Desktop.
CiviCRM Example Chart View
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
langcode: en | |
status: true | |
dependencies: | |
module: | |
- charts | |
- charts_google | |
- civicrm_entity | |
id: chart_demo_temp | |
label: 'Chart Demo Temp' | |
module: views | |
description: '' | |
tag: '' | |
base_table: civicrm_contribution | |
base_field: id | |
display: | |
default: | |
display_plugin: default | |
id: default | |
display_title: Master | |
position: 0 | |
display_options: | |
access: | |
type: none | |
options: { } | |
cache: | |
type: tag | |
options: { } | |
query: | |
type: views_query | |
options: | |
disable_sql_rewrite: false | |
distinct: false | |
replica: false | |
query_comment: '' | |
query_tags: { } | |
exposed_form: | |
type: basic | |
options: | |
submit_button: Apply | |
reset_button: false | |
reset_button_label: Reset | |
exposed_sorts_label: 'Sort by' | |
expose_sort_order: true | |
sort_asc_label: Asc | |
sort_desc_label: Desc | |
pager: | |
type: mini | |
options: | |
items_per_page: 10 | |
offset: 0 | |
id: 0 | |
total_pages: null | |
expose: | |
items_per_page: false | |
items_per_page_label: 'Items per page' | |
items_per_page_options: '5, 10, 25, 50' | |
items_per_page_options_all: false | |
items_per_page_options_all_label: '- All -' | |
offset: false | |
offset_label: Offset | |
tags: | |
previous: ‹‹ | |
next: ›› | |
style: | |
type: chart | |
options: | |
grouping: { } | |
allow_advanced_rendering: 0 | |
library: google | |
type: column | |
label_field: name | |
fields: | |
table: '' | |
data_fields: | |
name: 0 | |
fee_amount: fee_amount | |
total_amount: total_amount | |
field_colors: | |
name: '#2f7ed8' | |
fee_amount: '#3a0d11' | |
total_amount: '#214bbc' | |
title: '' | |
title_position: out | |
tooltips: '' | |
data_labels: '' | |
data_markers: 'FALSE' | |
legend_position: right | |
background: '' | |
three_dimensional: 0 | |
polar: 0 | |
width: '900' | |
width_units: px | |
height: '600' | |
height_units: px | |
max: '100' | |
min: '0' | |
green_from: '85' | |
green_to: '100' | |
yellow_from: '50' | |
yellow_to: '85' | |
red_from: '0' | |
red_to: '50' | |
xaxis_title: '' | |
xaxis_labels_rotation: '0' | |
yaxis_title: '' | |
yaxis_min: '' | |
yaxis_max: '' | |
yaxis_prefix: '' | |
yaxis_suffix: '' | |
yaxis_decimal_count: '' | |
yaxis_labels_rotation: '0' | |
row: | |
type: fields | |
fields: | |
name: | |
id: name | |
table: civicrm_financial_type | |
field: name | |
relationship: financial_type_id | |
group_type: group | |
admin_label: '' | |
label: 'Financial Type' | |
exclude: false | |
alter: | |
alter_text: false | |
text: '' | |
make_link: false | |
path: '' | |
absolute: false | |
external: false | |
replace_spaces: false | |
path_case: none | |
trim_whitespace: false | |
alt: '' | |
rel: '' | |
link_class: '' | |
prefix: '' | |
suffix: '' | |
target: '' | |
nl2br: false | |
max_length: 0 | |
word_boundary: true | |
ellipsis: true | |
more_link: false | |
more_link_text: '' | |
more_link_path: '' | |
strip_tags: false | |
trim: false | |
preserve_tags: '' | |
html: false | |
element_type: '' | |
element_class: '' | |
element_label_type: '' | |
element_label_class: '' | |
element_label_colon: true | |
element_wrapper_type: '' | |
element_wrapper_class: '' | |
element_default_classes: true | |
empty: '' | |
hide_empty: false | |
empty_zero: false | |
hide_alter_empty: true | |
click_sort_column: value | |
type: string | |
settings: | |
link_to_entity: false | |
group_column: value | |
group_columns: { } | |
group_rows: true | |
delta_limit: 0 | |
delta_offset: 0 | |
delta_reversed: false | |
delta_first_last: false | |
multi_type: separator | |
separator: ', ' | |
field_api_classes: false | |
entity_type: civicrm_financial_type | |
entity_field: name | |
plugin_id: field | |
fee_amount: | |
id: fee_amount | |
table: civicrm_contribution | |
field: fee_amount | |
relationship: none | |
group_type: sum | |
admin_label: '' | |
label: 'Fee Amount' | |
exclude: false | |
alter: | |
alter_text: false | |
text: '' | |
make_link: false | |
path: '' | |
absolute: false | |
external: false | |
replace_spaces: false | |
path_case: none | |
trim_whitespace: false | |
alt: '' | |
rel: '' | |
link_class: '' | |
prefix: '' | |
suffix: '' | |
target: '' | |
nl2br: false | |
max_length: 0 | |
word_boundary: true | |
ellipsis: true | |
more_link: false | |
more_link_text: '' | |
more_link_path: '' | |
strip_tags: false | |
trim: false | |
preserve_tags: '' | |
html: false | |
element_type: '' | |
element_class: '' | |
element_label_type: '' | |
element_label_class: '' | |
element_label_colon: true | |
element_wrapper_type: '' | |
element_wrapper_class: '' | |
element_default_classes: true | |
empty: '' | |
hide_empty: false | |
empty_zero: false | |
hide_alter_empty: true | |
click_sort_column: value | |
type: number_decimal | |
settings: | |
thousand_separator: '' | |
prefix_suffix: true | |
decimal_separator: . | |
scale: 2 | |
group_column: value | |
group_columns: { } | |
group_rows: true | |
delta_limit: 0 | |
delta_offset: 0 | |
delta_reversed: false | |
delta_first_last: false | |
multi_type: separator | |
separator: ', ' | |
field_api_classes: false | |
entity_type: civicrm_contribution | |
entity_field: fee_amount | |
plugin_id: field | |
total_amount: | |
id: total_amount | |
table: civicrm_contribution | |
field: total_amount | |
relationship: none | |
group_type: sum | |
admin_label: '' | |
label: 'Total Amount' | |
exclude: false | |
alter: | |
alter_text: false | |
text: '' | |
make_link: false | |
path: '' | |
absolute: false | |
external: false | |
replace_spaces: false | |
path_case: none | |
trim_whitespace: false | |
alt: '' | |
rel: '' | |
link_class: '' | |
prefix: '' | |
suffix: '' | |
target: '' | |
nl2br: false | |
max_length: 0 | |
word_boundary: true | |
ellipsis: true | |
more_link: false | |
more_link_text: '' | |
more_link_path: '' | |
strip_tags: false | |
trim: false | |
preserve_tags: '' | |
html: false | |
element_type: '' | |
element_class: '' | |
element_label_type: '' | |
element_label_class: '' | |
element_label_colon: true | |
element_wrapper_type: '' | |
element_wrapper_class: '' | |
element_default_classes: true | |
empty: '' | |
hide_empty: false | |
empty_zero: false | |
hide_alter_empty: true | |
click_sort_column: value | |
type: number_decimal | |
settings: { } | |
group_column: value | |
group_columns: { } | |
group_rows: true | |
delta_limit: 0 | |
delta_offset: 0 | |
delta_reversed: false | |
delta_first_last: false | |
multi_type: separator | |
separator: ', ' | |
field_api_classes: false | |
entity_type: civicrm_contribution | |
entity_field: total_amount | |
plugin_id: field | |
filters: { } | |
sorts: { } | |
title: 'Contrib Sums by Financial Type' | |
header: { } | |
footer: { } | |
empty: { } | |
relationships: | |
financial_type_id: | |
id: financial_type_id | |
table: civicrm_contribution | |
field: financial_type_id | |
relationship: none | |
group_type: group | |
admin_label: 'CiviCRM Financial type' | |
required: false | |
entity_type: civicrm_contribution | |
entity_field: financial_type_id | |
plugin_id: standard | |
arguments: { } | |
display_extenders: | |
metatag_display_extender: { } | |
simple_sitemap_display_extender: { } | |
group_by: true | |
cache_metadata: | |
max-age: -1 | |
contexts: | |
- 'languages:language_content' | |
- 'languages:language_interface' | |
- url.query_args | |
tags: { } | |
page_1: | |
display_plugin: page | |
id: page_1 | |
display_title: Page | |
position: 1 | |
display_options: | |
display_extenders: | |
metatag_display_extender: { } | |
simple_sitemap_display_extender: | |
variants: { } | |
path: chart-demo-temp | |
cache_metadata: | |
max-age: -1 | |
contexts: | |
- 'languages:language_content' | |
- 'languages:language_interface' | |
- url.query_args | |
tags: { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment