informatics-isi-edu / deriva-webapps

Deriva-based web applications
Apache License 2.0
2 stars 1 forks source link

Clickable legend and plot in React plot app #138

Closed jrchudy closed 1 year ago

jrchudy commented 1 year ago

With the primary functionality for each plot type of plot app migrated, we need to make sure the previous functionality of the legend click event and graphic click event is being supported.

For changing the legend click event, we want to support the legend_markdown_pattern and disable_default_legend_click properties. More information can be found in the README.

For changing the graph click event, we want to support graphic_link_pattern. More information can be found in the README.

NOTE: For violin plot, the location of the configuration values differs from the other plot types.

The implementation for allowing customized click events for the legend and graph was initially discussed in issue #106 . More details can be found there and in the plot functionality document.

Future implementation of these properties (graphic_link_pattern and legend_markdown_pattern) should be expanded to dot and histogram.