My simple bar chart html file that was generated using ggplot() is returning the message "Limited rendering only" in the Preview pane. Below the message, the chart does display correctly. What is causing the warning? Thanks.
Created by Colette Blach cblach15 Got my graphic working, thanks! Synapse Simple Plots use the query results of a Synapse Table/View as input, and can output either a line or bar plot.
In an ideal world, this component would support all configuration parameters that are available in the underlying library ([Plotly.js](https://plotly.com/javascript/)), perhaps by utilizing an editor like the [react-chart-editor](https://github.com/plotly/react-chart-editor).
The query results from a Synapse Table are limited by how much data can be sent back, so I don't think there would be a difference between a "long" or "wide" table as input. The client needs to ultimately download all of the "pages" of data in order to generate the plot, so each page would either contain many skinny rows or a few wide rows.
Note that you could write the pre-processed results to another Synapse Table that would drive the plot, or it could be a result of an aggregate query on the original data.
Here's a very basic example of a stacked bar chart definition:
```
${plot?query=select "animal", "SF Zoo", "LA Zoo" from syn8223164&title=My Title&xtitle=X axis label&ytitle=y axis label&type=BAR&barmode=STACK&showlegend=true}
```
${plot?query=select "animal", "SF Zoo", "LA Zoo" from syn8223164&title=My Title&xtitle=X axis label&ytitle=y axis label&type=BAR&barmode=STACK&showlegend=true} (post was created from a test developer account) @jay or @KevinBoske would you like to discuss/suggest data visualization in Synapse? It looks like it works well if the data is "wide", not "long". Is that the strategy? Are there any stacked bar examples? Thanks. Synapse doesn't run arbitrary JavaScript, as that would be a serious security risk. If you want to show a plot in Synapse you can put your data into a Synapse table, create a wiki and add a Simple Plot widget to display the date in the table. See https://docs.synapse.org/articles/wikis.html#wiki-widgets
https://www.synapse.org/#!Synapse:syn25741686
Can you share the plot (e.g., share the link)?
Drop files to upload
HTML Limited rendering only error page is loading…