danielkrizian / rChartsDygraphs

An `rCharts` extension. Run `dygraphs` from R - interactive visualizations of time series using JavaScript and HTML canvas. See: http://dygraphs.com/ and
http://rcharts.io/
9 stars 10 forks source link

dygraph and polygon #22

Open jangorecki opened 10 years ago

jangorecki commented 10 years ago

Hi, Is it possible to make polygon plot in dygraphs? I would like to achieve following effect:

examples:

image and image

Currently what I can do is just to plot straight line low/high as another series. If it's possible, could you expand the examples for it? Regards

danielkrizian commented 10 years ago

@pshevtsov , what do you think, is it a heavy customization to https://github.com/danielkrizian/dygraphs?

przmv commented 10 years ago

@danielkrizian something like this — http://dygraphs.com/tests/custom-bars.html ? Or we could do a custom plotter, similar to candlestick bars.

danielkrizian commented 10 years ago

errorBars native argument of www.dygraphs.com looks like a generic enough solution for the vwap problem, high and low being error bands around the middle. We just need to find way to color the upper band differently than lower band, perhaps that is readily supported by the dygraphs library itself (haven't done enough research)

danielkrizian commented 10 years ago

needs solution on JS level first. delegated to https://github.com/danielkrizian/dygraphs/issues/19