Other changes not included in the recent release for gudmap:
add a button to remove query params and enable all selectors
rough implementation using top_right_link_text at top level of config
truncate labels for x-axis display at "xx" characters
how to truncate and show tooltip in plotly?
index of terms that are truncated (similar to wikipedia "sources" section)
can legend be pushed above/below plot instead of trying to fit it "on top" of the plot
plotly has a concept of xanchor and yanchor for the legend which allows for setting the legend position in relation to the plot
if data is null, we use N/A
if data is empty string "", use Empty instead so the label isn't "missing"
no studies selected italic text similar to all studies selected
help menu/link
where should this go?
in list of buttons that plotly has in upper right corner?
~content of help page:~ /user-docs/plot-functionality.md created
list of regression test cases to go through
/dev-docs/regression-testing.md created
update the tests based on latest violin plot use case
disable study selector instead of hide when study is in url parameters
123
open from iframe forces user to restart the changes they made to the selectors
add data to plotly object in config
treat data the same as layout and config
use as is and then add more values to it by the application to initialize defaults if not set
what if x/y arrays are part of data
if no queryPattern in traces then use x/y data
requires big changes to code to ignore making the requests and setting up the app without that data
if both x/y data and queryPattern in traces, then queryPattern data will be used ignoring the configuration in data
change url_parameters to not mix the notion of url parameters and controller values
this will get tricky with how templates are defined. If url_parameters is a static object, that means templates should never rely on them and instead use $filters as defined below
$url_parameters: {
Study: ["xxxx", ...],
NCBI_GeneID: "xxxx"
},
$filters: {
Study: [Tuple, ...] // Study Tuples
Gene: Tuple, // Gene Tuple
rows: [Tuple, ...] // Replicate_Expression Tuple with all data
},
$row: [response.data[0], ...]
Other changes not included in the recent release for gudmap:
top_right_link_text
at top level of configxanchor
andyanchor
for the legend which allows for setting the legend position in relation to the plotnull
, we useN/A
""
, useEmpty
instead so the label isn't "missing"/user-docs/plot-functionality.md
created/dev-docs/regression-testing.md
created123
data
toplotly
object in configdata
the same aslayout
andconfig
queryPattern
in traces then use x/y dataqueryPattern
in traces, thenqueryPattern
data will be used ignoring the configuration indata
$filters
as defined belowOriginally posted by @jrchudy in https://github.com/informatics-isi-edu/deriva-webapps/issues/119#issuecomment-962046608