andredumas / techan.js

A visual, technical analysis and charting (Candlestick, OHLC, indicators) library built on D3.
http://techanjs.org/
MIT License
2.4k stars 535 forks source link

Changing plot type with color change #39

Open mnphani opened 9 years ago

mnphani commented 9 years ago

One of the the best JS charting. I am able to use this within no time and started to visualize my data and charts.

Is possible to enable plot type example RSI as a bar chart vs line chart ?

May be have basic plots i.e BarPlot and LinePlot and variable plot scale i.e 0-100 or -ve to +ve with zero line and adjustable support/resistance lines instead of RSI Plot.

Also ability to change color of the plot based on above zero or below zero.

Once I have these plot I can use any data to plot the indicator.

andredumas commented 9 years ago

I haven't built these into the library as it is relatively straight forward to use raw d3 for this. There are plenty of examples in the code. Also for now the library isn't a charting abstraction layer (which is what I think you're asking for) it is very specific tools built for a very specific use. But from this I may expose basic Line (which exists internally) and Bar chart.