SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
Now I using different library for displaing candles.
And have two different styles of candles.
An author of library that I using strongly recomended this one library.
And I try to port my app to SciChart.
How can I change CandlestickSeries to displayed as a Bar Chart
We have a separate series type which is called FastOhlcRenderableSeries which should provide desired output.
To implement switching you can create two renderable series ( candlestick and OHLC ) which share same data series instance and use setIsVisible() method to make one of them visible and other invisible:
final IOhlcDataSeries<Date, Double> dataSeries = new OhlcDataSeries<>(Date.class, Double.class); // init series with shared dataSeries instance final FastCandlestickRenderableSeries candlestickSeries = sciChartBuilder.newCandlestickSeries().withDataSeries(dataSeries).build(); final FastOhlcRenderableSeries ohlcSeries = sciChartBuilder.newOhlcSeries().withDataSeries(dataSeries).build(); // make one series visible and other invisible candlestickSeries.setIsVisible(true); ohlcSeries.setIsVisible(false);
Hope that this will help you!
Please login first to submit.