add slider to graph panel, used to filter diagnosis records