Skip to content

Commit

Permalink
Fixes highlighting issue (#121)
Browse files Browse the repository at this point in the history
* 27206 Fix highlighting issue [Gantt Chart highlights data points incorrectly (ICM 76810792)]
* 27207 Cover changes by UTs [Gantt Chart highlights data points incorrectly (ICM 76810792)]
  • Loading branch information
ignatvilesov authored Jul 17, 2018
1 parent 1a89eaf commit 9d5686a
Show file tree
Hide file tree
Showing 12 changed files with 12,234 additions and 330 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ typings
.api
*.log
/coverage
package-lock.json
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ sudo: required
dist: trusty
language: node_js
node_js:
- "7"
before_install:
- sudo apt-get install -y chromium-browser
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- "10"
install:
- npm install
script:
Expand Down
38 changes: 34 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
## 1.12.1
* Fixes highlighting issue

## 1.12.0
* Added localization for all supported languages

## 1.11.1
* Fixed issue with not showing values in some cases for day duration unit
* Fixed issue with task name left alignment

## 1.11.0
* Fixed issue with wrong tooltips
* Fixed issue with strange category labels
* Fixed issue with unsynchronized legend and task color

## 1.10.1
* Added 'End date' field to tooltip
* Fixed issue with date in extra information field
* Fixed crush when one field in Task and Extra Information

## 1.10.0
* UPD: powerbi-visuals-tools has been updated to 1.11.0 to support Bookmarks
* UPD: API has been updated to 1.11.0 to support Bookmarks
Expand All @@ -22,65 +28,89 @@
* Fixed issue with tooltip duration
* Fixed issue with invisible task line when duration is 1
* Renamed "Extra imformation" field bucket to "Tooltips"

## 1.9.3
* Fixed issue with tooltip duration
* Fixed issue with line length with float value and 'second' duration

## 1.9.2
* Fixed issue with wrong selection of children tasks from legend

## 1.9.1
* Fixed issue with wrong tooltip data displaying without 'parent' data
* Fixed issue with wrong duration in the tooltip

## 1.9.0
* Added ability to use sub tasks

## 1.8.6
* Added option to data labels which cut them up to the width of the task

## 1.8.5
* Fixed issue with wrong displaying resources labels

## 1.8.4
* Fixed behavior when completion values display in tooltip though the
%Completion doesn't have any field

## 1.8.3
* Reverted 1.8.2 fix caused selection issue.
* Fixed viewport clearing if no data in dataView
* Added ordering feature

## 1.8.2
* Fixed issue when task type value doesn't matter without duration

## 1.8.1
* Fixed issue with not integer duration in some browsers

## 1.8.0
* Fixed wrong behavior when chart didn't render without duration data.
* Update API to v1.7

## 1.7.5
* Fixed estimated time incorrect when we use weekend setting

## 1.7.4
* Fixed X-axis date formatting overlapped for "Hour" date type

## 1.7.3
* Fixed unexpected error with scroll in some cases

## 1.7.2
* Fixed wrong width calculation of completion line when daysOff setting
is switched on
* Fixed wrong width calculation of completion line when daysOff setting is switched on

## 1.7.1
* Fixed wrong date formatting of x-axis. Date formatting didn't use
PowerBi language setting
* Fixed wrong date formatting of x-axis. Date formatting didn't use PowerBi language setting

## 1.7.0
* Added an ability to ignore weekends

## 1.6.0
* Added ability automatically scroll chart to today date

## 1.5.1
* Fixed tooltip label and date format of milestone line

## 1.5.0
* Added ability to use custom date format for tooltip dates
* Added ability to use extra information in the tooltip

## 1.4.0
* Added new date types for x-axis(Quarter, Hours, Minutes, Seconds)

## 1.3.0
* Added colour settings for: Today Bar Color, Axis Color, Axis Text Color
* Added ability to set colour of Tasks if there is no legend specified.

## 1.2.0
* Added ability to set minimum of task duration

## 1.1.0
* Added ability to use hours, minutes and seconds in a 'duration'

## 1.0.2
* Fixed tooltip date format not respected

## 1.0.1
* Fixed start date calculation
36 changes: 13 additions & 23 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,16 @@

'use strict';

const recursivePathToTests = 'test/**/*.ts'
, srcRecursivePath = '.tmp/drop/visual.js'
, srcCssRecursivePath = '.tmp/drop/visual.css'
, srcOriginalRecursivePath = 'src/**/*.ts'
, coverageFolder = 'coverage';
const recursivePathToTests = 'test/**/*.ts';
const srcRecursivePath = '.tmp/drop/visual.js';
const srcCssRecursivePath = '.tmp/drop/visual.css';
const srcOriginalRecursivePath = 'src/**/*.ts';
const coverageFolder = 'coverage';

module.exports = (config) => {
const browsers = [];

if (process.env.TRAVIS) {
browsers.push('ChromeTravisCI');
} else {
browsers.push('Chrome');
}

config.set({
browsers,
customLaunchers: {
ChromeTravisCI: {
base: 'Chrome',
flags: ['--no-sandbox']
}
},
browsers: ['ChromeHeadless'],
colors: true,
frameworks: ['jasmine'],
reporters: [
Expand Down Expand Up @@ -89,9 +76,12 @@ module.exports = (config) => {
},
coverageReporter: {
dir: coverageFolder,
reporters: [
{ type: 'html' },
{ type: 'lcov' }
reporters: [{
type: 'html'
},
{
type: 'lcov'
}
]
},
remapIstanbulReporter: {
Expand All @@ -102,4 +92,4 @@ module.exports = (config) => {
}
}
});
};
};
Loading

0 comments on commit 9d5686a

Please sign in to comment.