Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/ez-core/src/sample-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,21 @@ export const rawData: RawData = [
id: '1',
label: 'Alpha',
value: 50,
value1: 65,
amount: 10,
},
{
id: '2',
label: 'Beta',
value: 100,
value1: 120,
amount: 20,
},
{
id: '3',
label: 'Gamma',
value: 75,
value1: 90,
amount: 30,
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exports[`Chart should provide the chart data to the children components 1`] = `
>
<g transform="translate(20, 10)">
<div>
[{"id":"1","label":"Alpha","value":50,"amount":10},{"id":"2","label":"Beta","value":100,"amount":20},{"id":"3","label":"Gamma","value":75,"amount":30}]
[{"id":"1","label":"Alpha","value":50,"value1":65,"amount":10},{"id":"2","label":"Beta","value":100,"value1":120,"amount":20},{"id":"3","label":"Gamma","value":75,"value1":90,"amount":30}]
</div>
</g>
</svg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ exports[`Tooltip renders the tooltip when a shape is hovered 1`] = `
50
</div>
</div>
<div class="ez-tooltip-attribute value1">
<div class="ez-tooltip-attribute--name">
value1 :
</div>
<div class="ez-tooltip-attribute--value">
65
</div>
</div>
<div class="ez-tooltip-attribute amount">
<div class="ez-tooltip-attribute--name">
amount :
Expand Down
Loading