Stairs line style, vertical lines in charts/plots

I’d like to request “stairs” as a chart and/or plot type. The Step Chart in jqPlot would be a good starting point:
The plot creation system Grace (either Qtgrace or xmgrace) has options for “left stairs” and “right stairs”, depending if the x-axis value is to the right or left of the flat portion. Ideally, I’d like to see those options replicated. The reason for this is to make it possible to display histograms well. Bar charts don’t work, because the sides of the bars don’t meet.

I’d also like to request the ability to place vertical lines as markers in charts and/or plots. My intention is to use a slider widget to move the vertical lines on the chart.


Hi Michael -

I don’t think anyone is actively working on the jqplot based plotting in Slicer right now. In general features from jqpolot are mapped pretty directly, so if you don’t mind a little a little C++ and javascript it might be a very mechanical translation to make this work (exposing some features by following the pattern of the existing code).

But as described here [1] slicer also supports vtkPlots [2] which may have better support for what you are looking for.

Not sure what will work best for you.




1 Like

Thanks, I’ll investigate this.