Assuming you're doing this in a Canvas, you can do this to the Canvas first:

ctx.rotate(Math.PI / 2);
and everything drawn to the canvas regularly will be rotated 90° to the right.

I *think* that will work…

> On Aug 1, 2016, at 15:25 , Jonathan Christensen <[email protected]> wrote:
> 
> Hi all,
> 
> We have a requirement to make some time series plots.  Easy right? Except 
> that the requirement is for the series to be veritcal rather than the 
> horizontal default that all the plotting engines seem to support.
> 
> Here's a rough (less beautiful than we would like to create) example of what 
> such a time series plot would look like so that you can understand what I 
> mean by vertical.

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to