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

legend lable icons (color points) aligned right when JS component is mounted on server #237

Closed
1 of 9 tasks
us044466 opened this issue Sep 17, 2021 · 1 comment
Closed
1 of 9 tasks

Comments

@us044466
Copy link

Bug Report

Description

We are consuming carbon graph in our application and we are seeing an issue with the legend labels. When JS component is started locally with (npm start) and launch app I see the legend label as centered correctly but when the JS is mounted on server the label icons are aligned right.
JS component: https://github.cerner.com/healtheintent/care-management-trackers-js/compare/HNCAREMAN-2002
Engine where js component is mounted: https://github.cerner.com/healtheintent/care_management_trackers_engine/compare/test_changes

Graphs affected

  • Bar graph
  • Bubble graph
  • Gantt chart
  • Line graph
  • Paired result
  • Pie chart
  • Scatter plot
  • Timeline
  • Legend Label

Steps to Reproduce

Please follow the steps on engine repo to run launch app through engine. Use test_changes branch as it has js pointing to the right branch in package.json.
NOTE: This is orion application so you would also need mod headers. Here are the steps to install mod headers with deveng values: https://github.cerner.com/healtheintent/care_management_wellness_server#request-headers

Link to CodeSandbox

Use this template to reproduce the behavior.

Additional Context / Screenshots

  • When application runs on JS (npm start)
    image

  • When application runs on engine (bundle exec rackup)
    image

Expected Behavior

  • Legend labels icons are centered on engine same way they are on JS.

Possible Solution

Environment

  • Component Name and Version:
  • Browser Name and Version:
  • Node/npm Version: [e.g. Node 8/npm 5]
  • Webpack Version:
  • Operating System and version (desktop or mobile):

@ Mentions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant