• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

angular-gantt / angular-gantt / 420
49%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2014 06:44AM UTC
Jobs 1
Files 81
Run time 36s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
420

push

travis-ci

Schweigi
refac(gantt): Use scope value for side section and gantt width to prevent display issues

When mixing direct DOM properties with scope variables the DOM values may still be old as the apply cycle is not finished. Or the DOM properties are already new as they got set directly while others DOM properties get set with scope variables and therefore the gantt does not behave correctly. This can lead to undesired results as described in #243.
With the refactoring the gantt width is based on the ganttElementWidth and sideWidth scope variable. All other main sizes can be calculated based on this two values. Through this the autoFitWidth is working much better and the bodyRowWidth/bodyRowHeight element listener could be removed.
 As a scope value is needed for the side section the section is 150px wide by default. The width can be either changed by resizing the side section, with api methods or by calling api.label.fitSideWidth to automatically adjust the side width to the labels width. As the side section belongs to the gantt a new gantt options has been introduced: 'show-side' to hide/show the side section. The side section is not shown when no side section plugin is enabled or loaded. This behaviour would also allow to add multiple side section plugins.

 Fixes #243

1506 of 2773 relevant lines covered (54.31%)

80.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 420.1 29 Nov 2014 06:44AM UTC 0
54.31
Travis Job 420.1
Source Files on build 420
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #420
  • 09d1e8d5 on github
  • Prev Build on master (#419)
  • Next Build on master (#421)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc