Skip to content
Snippets Groups Projects

Feat(vis1 d)/add tooltip

Merged Marcos Pieras requested to merge feat(vis1D)/addTooltip into main
1 unresolved thread
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -176,7 +176,7 @@ export const CustomChartPlotly: React.FC<CustomChartPlotlyProps> = ({
font: {
family: 'Inter, sans-serif',
size: 12,
color: '#374151', // change to gp default color
color: '#374151',
},
xaxis: {
title: showAxis ? (xAxisLabel ? xAxisLabel : '') : '',
@@ -193,12 +193,12 @@ export const CustomChartPlotly: React.FC<CustomChartPlotlyProps> = ({
zeroline: false,
},
hoverlabel: {
bgcolor: 'rgba(255, 255, 255, 0.8)', // Custom background color
bordercolor: 'rgba(0, 0, 0, 0.2)', // Custom border color
bgcolor: 'rgba(255, 255, 255, 0.8)',
bordercolor: 'rgba(0, 0, 0, 0.2)',
font: {
family: 'Inter, sans-serif',
size: 14, // Font size
color: '#374151', // Text color
size: 14,
color: '#374151',
},
},
}}
Loading