Forum Discussion
Anonymous
3 years agoNot applicable
Y axis having the same time scale
Hello, need some help, I have created a measure and format of the Y axis in “Time” But seems the Y axis showing the same time. Both the lines having the same time for particular date in...
Anonymous
2 years agoNot applicable
lbendlin, Would it be possible for you to provide the code of this visual? How did you write a code to show time and date.
lbendlin
Super User
2 years ago{
"data": {"name": "dataset"},
"encoding": {
"x": {
"field": "Date",
"type": "temporal"
}
},
"layer": [
{
"mark": {"type": "line"},
"encoding": {
"y": {
"field": "End Time",
"type": "temporal"
}
}
},
{
"mark": {"type": "line"},
"encoding": {
"y": {
"field": "Start Time",
"type": "temporal"
}
}
}
]
}