Skip to content

Commit edfe268

Browse files
authored
Merge pull request #1209 from cambridge-cares/dev-hotfix-vf-chart-time-display
2 parents 86595ab + 4419038 commit edfe268

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

web/twa-vis-framework/library/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
[//]: # (Note that version headers need to start with "## " characters to be picked up by some automated scripts)
44

5+
## 4.7.3
6+
7+
### Bug Fixes
8+
9+
* Fixed instant time series not being displayed as time series on the chart
10+
511
## 4.7.2
612

713
### Bug Fixes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.2
1+
4.7.3

web/twa-vis-framework/library/src/ts/ui/timeseries_handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class TimeseriesHandler {
276276
// Determine axis types
277277
let yAxisType = ("Boolean" === data["valuesClass"]) ? "category" : "linear";
278278
let xAxisType = "linear";
279-
if(data["timeClass"] === "dateTime" || data["timeClass"] === "offsetTime") {
279+
if(data["timeClass"] === "dateTime" || data["timeClass"] === "offsetTime" || data["timeClass"] === "Instant") {
280280
xAxisType = "time";
281281
}
282282

0 commit comments

Comments
 (0)