Skip to content

Commit

Permalink
Agrega nuevo archivo de prueba chart_32.json
Browse files Browse the repository at this point in the history
  • Loading branch information
germankay committed Dec 17, 2024
1 parent 906f407 commit 41cc016
Showing 1 changed file with 85 additions and 0 deletions.
85 changes: 85 additions & 0 deletions ckanext/superset/tests/responses/chart_32.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"description_columns": {},
"id": 32,
"label_columns": {
"cache_timeout": "Cache Timeout",
"certification_details": "Certification Details",
"certified_by": "Certified By",
"changed_on_delta_humanized": "Changed On Delta Humanized",
"dashboards.dashboard_title": "Dashboards Dashboard Title",
"dashboards.id": "Dashboards Id",
"dashboards.json_metadata": "Dashboards Json Metadata",
"description": "Description",
"id": "Id",
"is_managed_externally": "Is Managed Externally",
"owners.first_name": "Owners First Name",
"owners.id": "Owners Id",
"owners.last_name": "Owners Last Name",
"params": "Params",
"query_context": "Query Context",
"slice_name": "Slice Name",
"tags.id": "Tags Id",
"tags.name": "Tags Name",
"tags.type": "Tags Type",
"thumbnail_url": "Thumbnail Url",
"url": "Url",
"viz_type": "Viz Type"
},
"result": {
"cache_timeout": null,
"certification_details": null,
"certified_by": null,
"changed_on_delta_humanized": "2 months ago",
"dashboards": [
{
"dashboard_title": "dashboard_gi",
"id": 5,
"json_metadata": "{\"chart_configuration\": {\"22\": {\"id\": 22, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 23, 24, 25, 26, 28, 30, 31, 32]}}, \"23\": {\"id\": 23, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 22, 24, 25, 26, 28, 30, 31, 32]}}, \"25\": {\"id\": 25, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 22, 23, 24, 26, 28, 30, 31, 32]}}, \"26\": {\"id\": 26, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 22, 23, 24, 25, 28, 30, 31, 32]}}, \"28\": {\"id\": 28, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 22, 23, 24, 25, 26, 30, 31, 32]}}, \"31\": {\"id\": 31, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 22, 23, 24, 25, 26, 28, 30, 32]}}, \"32\": {\"id\": 32, \"crossFilters\": {\"scope\": \"global\", \"chartsInScope\": [21, 22, 23, 24, 25, 26, 28, 30, 31]}}}, \"global_chart_configuration\": {\"scope\": {\"rootPath\": [\"ROOT_ID\"], \"excluded\": []}, \"chartsInScope\": [21, 22, 23, 24, 25, 26, 28, 30, 31, 32]}, \"color_scheme\": \"\", \"refresh_frequency\": 0, \"shared_label_colors\": {\"2018\": \"#8FD3E4\", \"2019\": \"#3CCCCB\", \"2020\": \"#ACE1C4\", \"2021\": \"#B2B2B2\", \"2022\": \"#FCC700\", \"2023\": \"#666666\", \"root\": \"#1FA8C9\", \"meriltad de Artes\": \"#5AC189\", \"meriltad de Matem\\u00e1tica, Astronom\\u00eda, F\\u00edsica y Computaci\\u00f3n\": \"#FDE380\", \"meriltad de Lenguas\": \"#9EE5E5\", \"meriltad de Ciencias Sociales\": \"#454E7C\", \"meriltad de Derecho\": \"#A868B7\", \"meriltad de Ciencias de la Comunicaci\\u00f3n\": \"#FEC0A1\", \"meriltad de Psicolog\\u00eda\": \"#D1C6BC\", \"meriltad de Arquitectura, Urbanismo y Dise\\u00f1o\": \"#A38F79\", \"meriltad de Ciencias Agropecuarias\": \"#FF7F44\", \"meriltad de Odontolog\\u00eda\": \"#E04355\", \"meriltad de Ciencias Econ\\u00f3micas\": \"#D3B3DA\", \"Colegio Nacional de Monserrat\": \"#A1A6BD\", \"meriltad de Ciencias Exactas, F\\u00edsicas y Naturales\": \"#EFA1AA\", \"meriltad de Ciencias Qu\\u00edmicas\": \"#1FA8C9\", \"Escuela Superior de Comercio Manuel Belgrano\": \"#454E7C\", \"meriltad de Ciencias M\\u00e9dicas\": \"#5AC189\", \"meriltad de Filosof\\u00eda y Humanidades\": \"#FF7F44\", \"SUM(cantidad_mundos)\": \"#1FA8C9\"}, \"color_scheme_domain\": [], \"expanded_slices\": {}, \"label_colors\": {}, \"timed_refresh_immune_slices\": [], \"cross_filters_enabled\": true, \"default_filters\": \"{}\"}"
}
],
"description": null,
"id": 32,
"is_managed_externally": false,
"owners": [
{
"first_name": "Superset",
"id": 1,
"last_name": "Admin"
}
],
"params": "{\"datasource\":\"16__table\",\"viz_type\":\"echarts_timeseries_bar\",\"slice_id\":31,\"x_axis\":\"year_nanomico_tiempo\",\"time_grain_sqla\":\"P1Y\",\"x_axis_sort_asc\":true,\"x_axis_sort_series\":\"name\",\"x_axis_sort_series_ascending\":true,\"metrics\":[{\"aggregate\":\"SUM\",\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"cantidad_mundos\",\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"id\":135,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"LONGINTEGER\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\":false,\"label\":\"SUM(cantidad_mundos)\",\"optionName\":\"metric_fiz3zhkw70h_n9ffj22bnjm\",\"sqlExpression\":null}],\"groupby\":[],\"adhoc_filters\":[{\"expressionType\":\"SIMPLE\",\"subject\":\"year_nanomico_tiempo\",\"operator\":\"TEMPORAL_RANGE\",\"comparator\":\"No filter\",\"clause\":\"WHERE\",\"sqlExpression\":null,\"isExtra\":false,\"isNew\":false,\"datasourceWarning\":false,\"filterOptionName\":\"filter_btc2fr7xfb9_uzu571jcaa\"},{\"expressionType\":\"SIMPLE\",\"subject\":\"murimiento_city_nombre\",\"operator\":\"NOT IN\",\"operatorId\":\"NOT_IN\",\"comparator\":[\"Argentina\"],\"clause\":\"WHERE\",\"sqlExpression\":null,\"isExtra\":false,\"isNew\":false,\"datasourceWarning\":false,\"filterOptionName\":\"filter_2t72v11k97h_snk6whrmiz\"}],\"order_desc\":true,\"row_limit\":10000,\"truncate_metric\":true,\"show_empty_columns\":true,\"comparison_type\":\"values\",\"annotation_layers\":[],\"forecastPeriods\":10,\"forecastInterval\":0.8,\"orientation\":\"vertical\",\"x_axis_title\":\"\",\"x_axis_title_margin\":15,\"y_axis_title\":\"\",\"y_axis_title_margin\":15,\"y_axis_title_position\":\"Left\",\"sort_series_type\":\"sum\",\"color_scheme\":\"supersetColors\",\"show_value\":true,\"stack\":\"Stack\",\"only_total\":true,\"zoomable\":false,\"show_legend\":true,\"legendType\":\"scroll\",\"legendOrientation\":\"top\",\"legendMargin\":\"\",\"x_axis_time_format\":\"smart_date\",\"xAxisLabelRotation\":0,\"y_axis_format\":\"SMART_NUMBER\",\"logAxis\":false,\"minorSplitLine\":false,\"truncateYAxis\":false,\"y_axis_bounds\":[null,null],\"rich_tooltip\":true,\"tooltipTimeFormat\":\"smart_date\",\"extra_form_data\":{},\"dashboards\":[5]}",
"query_context": "{\"datasource\":{\"id\":16,\"type\":\"table\"},\"force\":false,\"queries\":[{\"filters\":[{\"col\":\"year_nanomico_tiempo\",\"op\":\"TEMPORAL_RANGE\",\"val\":\"No filter\"},{\"col\":\"murimiento_city_nombre\",\"op\":\"NOT IN\",\"val\":[\"Argentina\"]}],\"extras\":{\"having\":\"\",\"where\":\"\"},\"applied_time_extras\":{},\"columns\":[{\"timeGrain\":\"P1Y\",\"columnType\":\"BASE_AXIS\",\"sqlExpression\":\"year_nanomico_tiempo\",\"label\":\"year_nanomico_tiempo\",\"expressionType\":\"SQL\"}],\"metrics\":[{\"aggregate\":\"SUM\",\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"cantidad_mundos\",\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"id\":135,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"LONGINTEGER\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\":false,\"label\":\"SUM(cantidad_mundos)\",\"optionName\":\"metric_fiz3zhkw70h_n9ffj22bnjm\",\"sqlExpression\":null}],\"orderby\":[[{\"aggregate\":\"SUM\",\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"cantidad_mundos\",\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"id\":135,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"LONGINTEGER\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\":false,\"label\":\"SUM(cantidad_mundos)\",\"optionName\":\"metric_fiz3zhkw70h_n9ffj22bnjm\",\"sqlExpression\":null},false]],\"annotation_layers\":[],\"row_limit\":10000,\"series_columns\":[],\"series_limit\":0,\"order_desc\":true,\"url_params\":{},\"custom_params\":{},\"custom_form_data\":{},\"time_offsets\":[],\"post_processing\":[{\"operation\":\"pivot\",\"options\":{\"index\":[\"year_nanomico_tiempo\"],\"columns\":[],\"aggregates\":{\"SUM(cantidad_mundos)\":{\"operator\":\"mean\"}},\"drop_missing_columns\":false}},{\"operation\":\"flatten\"}]}],\"form_data\":{\"datasource\":\"16__table\",\"viz_type\":\"echarts_timeseries_bar\",\"slice_id\":31,\"x_axis\":\"year_nanomico_tiempo\",\"time_grain_sqla\":\"P1Y\",\"x_axis_sort_asc\":true,\"x_axis_sort_series\":\"name\",\"x_axis_sort_series_ascending\":true,\"metrics\":[{\"aggregate\":\"SUM\",\"column\":{\"advanced_data_type\":null,\"certification_details\":null,\"certified_by\":null,\"column_name\":\"cantidad_mundos\",\"description\":null,\"expression\":null,\"filterable\":true,\"groupby\":true,\"id\":135,\"is_certified\":false,\"is_dttm\":false,\"python_date_format\":null,\"type\":\"LONGINTEGER\",\"type_generic\":0,\"verbose_name\":null,\"warning_markdown\":null},\"datasourceWarning\":false,\"expressionType\":\"SIMPLE\",\"hasCustomLabel\":false,\"label\":\"SUM(cantidad_mundos)\",\"optionName\":\"metric_fiz3zhkw70h_n9ffj22bnjm\",\"sqlExpression\":null}],\"groupby\":[],\"adhoc_filters\":[{\"expressionType\":\"SIMPLE\",\"subject\":\"year_nanomico_tiempo\",\"operator\":\"TEMPORAL_RANGE\",\"comparator\":\"No filter\",\"clause\":\"WHERE\",\"sqlExpression\":null,\"isExtra\":false,\"isNew\":false,\"datasourceWarning\":false,\"filterOptionName\":\"filter_btc2fr7xfb9_uzu571jcaa\"},{\"expressionType\":\"SIMPLE\",\"subject\":\"murimiento_city_nombre\",\"operator\":\"NOT IN\",\"operatorId\":\"NOT_IN\",\"comparator\":[\"Argentina\"],\"clause\":\"WHERE\",\"sqlExpression\":null,\"isExtra\":false,\"isNew\":false,\"datasourceWarning\":false,\"filterOptionName\":\"filter_2t72v11k97h_snk6whrmiz\"}],\"order_desc\":true,\"row_limit\":10000,\"truncate_metric\":true,\"show_empty_columns\":true,\"comparison_type\":\"values\",\"annotation_layers\":[],\"forecastPeriods\":10,\"forecastInterval\":0.8,\"orientation\":\"vertical\",\"x_axis_title\":\"\",\"x_axis_title_margin\":15,\"y_axis_title\":\"\",\"y_axis_title_margin\":15,\"y_axis_title_position\":\"Left\",\"sort_series_type\":\"sum\",\"color_scheme\":\"supersetColors\",\"show_value\":true,\"stack\":\"Stack\",\"only_total\":true,\"zoomable\":false,\"show_legend\":true,\"legendType\":\"scroll\",\"legendOrientation\":\"top\",\"legendMargin\":\"\",\"x_axis_time_format\":\"smart_date\",\"xAxisLabelRotation\":0,\"y_axis_format\":\"SMART_NUMBER\",\"logAxis\":false,\"minorSplitLine\":false,\"truncateYAxis\":false,\"y_axis_bounds\":[null,null],\"rich_tooltip\":true,\"tooltipTimeFormat\":\"smart_date\",\"extra_form_data\":{},\"dashboards\":[5],\"force\":false,\"result_format\":\"json\",\"result_type\":\"full\"},\"result_format\":\"json\",\"result_type\":\"full\"}",
"slice_name": "total_mundosextranjerosxa\u00f1o_gi",
"tags": [],
"thumbnail_url": "/api/v1/chart/32/thumbnail/ce90a87d38fa6a2d8fa20232c1cba6f3/",
"url": "/explore/?slice_id=32",
"viz_type": "echarts_timeseries_bar"
},
"show_columns": [
"cache_timeout",
"certified_by",
"certification_details",
"changed_on_delta_humanized",
"dashboards.dashboard_title",
"dashboards.id",
"dashboards.json_metadata",
"description",
"id",
"owners.first_name",
"owners.id",
"owners.last_name",
"dashboards.id",
"dashboards.dashboard_title",
"params",
"slice_name",
"thumbnail_url",
"url",
"viz_type",
"query_context",
"is_managed_externally",
"tags.id",
"tags.name",
"tags.type"
],
"show_title": "Show Slice"
}

0 comments on commit 41cc016

Please sign in to comment.