Plot axes do not show labels when no data

Added semicolon

Added test for hasDomainData()

Added test for negative case on domain data check

Removed label test due to mocked telemetry formatter

Uncommented test commented by accident

Removed extra space
This commit is contained in:
Henry
2015-10-01 13:28:24 -07:00
parent a4f3e0d776
commit 3cf62ded08
4 changed files with 29 additions and 611 deletions

View File

@ -53,7 +53,8 @@ define(
for (i = 0; i < count; i += 1) {
result.push({
label: format(i * step + start)
//If data to show, display label for each tick line, otherwise show lines but suppress labels.
label: span > 0 ? format(i * step + start) : ''
});
}