dotted_chart(x = "absolute", y = "start") or plotly_dotted_chart() work well, if the start timestamps of the cases are all different. However, sometimes many cases start at the same time, if there's some batch behaviour. For these cases, the dotted_chart() function seems to arrange the cases according to their position in the log or even in reverse order. This can produce strange graphs, such as this one (see the area marked with the red ellipse):
If several cases start at the same time, the dotted chart with the "start"-argument should arrange them according to the timestamp of the second activities in the case, then the third activities, etc. The phenomenon is particularly relevant, if the timestamps are not very granular and only consist of dates.
Or do I somehow have to prearrange the cases in the log, before using the Dotted Chart?
Just changed the ordering. Might also be useful for other options (start_day and start_week) but the current approach is not very generic. Will come to this later.
dotted_chart(x = "absolute", y = "start")
orplotly_dotted_chart()
work well, if the start timestamps of the cases are all different. However, sometimes many cases start at the same time, if there's some batch behaviour. For these cases, thedotted_chart()
function seems to arrange the cases according to their position in the log or even in reverse order. This can produce strange graphs, such as this one (see the area marked with the red ellipse):If several cases start at the same time, the dotted chart with the "start"-argument should arrange them according to the timestamp of the second activities in the case, then the third activities, etc. The phenomenon is particularly relevant, if the timestamps are not very granular and only consist of dates.
Or do I somehow have to prearrange the cases in the log, before using the Dotted Chart?