zufolo441 commented on issue #13776:
URL: https://github.com/apache/superset/issues/13776#issuecomment-806402212


   In my opinion, you have to write some web service that cycles the query 
result and generates an array of json of pie chart and passes it in URL to 
superset.The charts could be rendered in an array of <iframe/>. Here is an 
example for a pie chart:
   
https://localhost:8088/superset/explore/?form_data={"viz_type":"pie";"datasource":"113__table";"slice_id":512;"url_params":{};"time_range_endpoints":["inclusive";"exclusive"];"granularity_sqla":"data_nascita";"time_range":"No+filter";"groupby":["nome"];"metric":"count";"adhoc_filters":[{"clause":"WHERE";"comparator":"M";"expressionType":"SIMPLE";"filterOptionName":"filter_0qoax0rgoqyr_7dul8e6vj8j";"isExtra":false;"isNew":false;"operator":"==";"sqlExpression":null;"subject":"sesso"}];"row_limit":100;"sort_by_metric":true;"color_scheme":"supersetColors";"legendType":"scroll";"legendOrientation":"top";"label_type":"key_percent";"number_format":";>;.2~f";"show_labels":true;"labels_outside":true;"outerRadius":70;"donut":true;"innerRadius":30;"extra_form_data":{"custom_form_data":{};"override_form_data":{};"append_form_data":{}}}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to