Skip to content

Commit

Permalink
Updated the medication and encounter mapper to update labels text col…
Browse files Browse the repository at this point in the history
…or (#242)
  • Loading branch information
yashpmohod authored Mar 28, 2024
1 parent ee224c9 commit b8b8295
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/ngx-charts-on-fhir/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elimuinformatics/ngx-charts-on-fhir",
"version": "3.4.1",
"version": "3.4.2",
"description": "Charts-on-FHIR: A data visualization library for SMART-on-FHIR healthcare applications",
"license": "Apache-2.0",
"homepage": "https://elimuinformatics.github.io/charts-on-fhir",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class EncounterMapper implements Mapper<MappableEncounter> {
display: true,
content: [className],
position: 'start',
color: 'black',
color: '#666666',
backgroundColor: 'transparent',
padding: 0,
font: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class SimpleMedicationMapper implements Mapper<SimpleMedication> {
if (meta.yAxisID === 'medications') {
const label = dataset.label;
const centerY = (meta.data[0].y + meta.data[meta.data.length - 1].y) / 2;
ctx.fillStyle = 'black';
ctx.fillStyle = '#666666';
ctx.font = '14px Arial';
ctx.textAlign = 'start';
ctx.textBaseline = 'middle';
Expand Down

0 comments on commit b8b8295

Please sign in to comment.