Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Prtl 2580 histogram improvements (#2553)
Browse files Browse the repository at this point in the history
* add labels to histogram json

* remove console log
  • Loading branch information
samrichca authored May 21, 2019
1 parent 700820c commit e7aaf61
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ const ClinicalVariableCard: React.ComponentType<IVariableCardProps> = ({
variable.active_chart === 'histogram'
? tableData.map(d => {
return {
fullLabel: d.key,
label: truncate(d.key, { length: 18 }),
tooltip: `${d.key}: ${d.chart_doc_count.toLocaleString()}`,
value:
Expand Down

0 comments on commit e7aaf61

Please sign in to comment.