Skip to content

Commit

Permalink
Merge pull request #20 from optimyze/jbcrail/use-series-name-in-tooltip
Browse files Browse the repository at this point in the history
Use bar chart title to label data in tooltip
  • Loading branch information
rockdaboot authored Feb 21, 2022
2 parents ac0666a + 04e1b37 commit 071113b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/profiling/public/components/chart-grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ChartGrid: React.FC<ChartGridProps> = ({ maximum }) => {
const uniqueID = `bar-chart-${i}`;

const barchart = (
<BarChart id={uniqueID} name={uniqueID} height={200} data={subdata} x="x" y="y" />
<BarChart id={uniqueID} name={keys[i]} height={200} data={subdata} x="x" y="y" />
);

const title = (
Expand Down

0 comments on commit 071113b

Please sign in to comment.