Display the inverse connection as well
Opened this issue · 6 comments
It would be nice, if one could display the inverse connection at the same time.
Use case is:
I want to go to Berlin from Frankfurt sometime in the next month for three days.
Show me at one gasp, what times have good conditions.
A simple solution is to simply show it as a second graphic, or to insert it into the current one.
I implemented something like this using a bar chart:
Each bar represents the cost of a three-day roundtrip, e. g. leaving on 12/4 and returning on 15/4 would cost 98€ in total.
You can also see it in action (should be online for at least a month). The code is over at johanngoltz/bahn.guru.
I'd love to hear your suggestions and feedback.
This is cool. Maybe make the trip length a parameter for the search?
There is also this from me:
Shows prices for 3h intervals each day, so its easy to see if there are cheap prices in the morning etc.
thigg@9f2a776
And in the discussion to the commit also some other guy who did something
Maybe its time to merge all the stuff together soon.
Yep, that's on my to-do list. Other things that still need to be done:
- Make this view reachable from the start page, not just by modifying the URL
- Navigation to the day view, just like what happens when you click a day in the original calendar.
- Separate parameters (duration, departure/arrival time, ...) for the in- and the outbound journey would be nice.
- Lastly, I'm sure the CSS I wrote could use some improvement
Paging @juliuste
bump. updated my previous comment
You can also see it in action (should be online for at least a month). The code is over at johanngoltz/bahn.guru.
Hey, I'm sorry for not answering earlier, the screenshot looks really great, however the link to the demo doesn't seem to work anymore :S
Whoops. It's up again.