You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public ConstraintSpec getConstraintSpec() {
return new ConstraintSpec()
.dependencyOrder(List.of("yAxisVariable"), List.of("xAxisVariable", "overlayVariable"))
.pattern()
.element("yAxisVariable")
.description("Variable must be of the same or a child entity as the X-axis variable.")
.element("xAxisVariable")
.temporal(true)
.description("Variable must be temporal and belong to the same or child entity as the variable the map markers are configured with, if any.")
.element("overlayVariable")
.required(false)
.done();
}
}
So the problem is that the UD date variable didn't get the isTemporal annotation.
I'll have a look to see where we can fix this.
The text was updated successfully, but these errors were encountered:
bobular
changed the title
Map/UD - make sure date variables have correct annotations to work in Time series supporting plot.
Map/UD - make sure date variables have isTemporal annotation to work in Time series supporting plot.
Aug 14, 2024
bobular
changed the title
Map/UD - make sure date variables have isTemporal annotation to work in Time series supporting plot.
Map/UD - make sure User Dataset date variables have isTemporal annotation to work in Time series supporting plot.
Aug 20, 2024
Here are the variable annotations currently given to an all-ISO-8601 date column in a UD
These are the constraints defined by the back end:
https://github.com/VEuPathDB/service-eda/blob/42abe109e7a7d7343dff3bf9aea4b77262bd2239/src/main/java/org/veupathdb/service/eda/data/plugin/standalonemap/FloatingTimeSeriesPlugin.java#L26-L39
So the problem is that the UD date variable didn't get the
isTemporal
annotation.I'll have a look to see where we can fix this.
The text was updated successfully, but these errors were encountered: