Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for export report to pdf #43

Closed
wants to merge 1 commit into from
Closed

Conversation

VineetBala-AOT
Copy link
Collaborator

Issue #: #39

Description of changes:

  • Implemented dynamic chart height based on the number of categories in the result.
  • Ensured a maximum height of 1300 for optimal one-page chart display.
  • Limited labels to 25 characters to prevent text overflow, ensuring each bar has sufficient text representation.

Charts now look like below in case there are more categories for a question:

image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ff66ab7) 68.43% compared to head (a3f17ab) 68.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   68.43%   68.43%           
=======================================
  Files         472      472           
  Lines       15633    15633           
  Branches     1198     1198           
=======================================
  Hits        10698    10698           
  Misses       4726     4726           
  Partials      209      209           
Flag Coverage Δ
metweb 61.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@VineetBala-AOT
Copy link
Collaborator Author

Fixed as part of another PR so closing this one.

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

Successfully merging this pull request may close these issues.

2 participants