feat: add overlay chart in bioentity drawer (MIN-236)
1 unresolved thread
1 unresolved thread
Closes MIN-236
Objective
Implement overlay chart in bioentity drawer
What has been done:
- chart with axis representing overlays values (scale, single color, no color, genomics)
- table with genomics
- cosmetic changes
- unit tests for components only
Edited by Adrian Orłów
Merge request reports
Activity
Filter activity
assigned to @AdrianOrlow
- Resolved by Adrian Orłów
- Resolved by Adrian Orłów
37 if (axis?.geneVariants) { 38 return axis.geneVariants.length.toString(); 39 } 40 41 return axis.value ? axis.value.toFixed(TWO) : DEFAULT_VALUE_TITLE; 42 }; 43 44 export const getOverlayAxisData = (axis: OverlayDataAxis): OverlayAxisProps => { 45 return { 46 title: axis.title, 47 background: { 48 color: addAlphaToHexString(axis.color, ONE_DECIMAL), 49 }, 50 bar: { 51 color: axis.color, 52 percentage: getBarPercentage(axis.value), @AdrianOrlow So why is it not filled almost halfway on the right side in the 1st screenshot where I added the value of
0.39
? I'm not sure if I'm missing something?
LGTM, RFC: typo
Edited by mateusz-winiarczykmentioned in commit 9f88a02d
mentioned in merge request !125 (merged)
Please register or sign in to reply