Skip to content
Snippets Groups Projects
Commit 45988c57 authored by David Bühler's avatar David Bühler
Browse files

[Ivette] Dive graph: changes the position and color of the legend button.

parent 34794beb
No related branches found
No related tags found
No related merge requests found
...@@ -731,19 +731,20 @@ export default function GraphComponent(): JSX.Element { ...@@ -731,19 +731,20 @@ export default function GraphComponent(): JSX.Element {
title="Choose the graph layout" title="Choose the graph layout"
/> />
<Space /> <Space />
<IconButton
icon="TRASH"
onClick={() => graph.current?.clear()}
title="Clear the graph"
/>
<IconButton <IconButton
icon="HELP" icon="HELP"
onClick={flipShowLegend} onClick={flipShowLegend}
kind={showLegend ? 'positive' : 'negative'} kind={showLegend ? 'positive' : 'default'}
title={showLegend ? title={showLegend ?
'Hide legend' : 'Hide legend' :
'Show legend'} 'Show legend'}
/> />
<Space />
<IconButton
icon="TRASH"
onClick={() => graph.current?.clear()}
title="Clear the graph"
/>
</Ivette.TitleBar> </Ivette.TitleBar>
<EvaReady> <EvaReady>
<GraphView <GraphView
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment