Please help me on this, as I want to draw/combine multiple charts on a single surface and I am getting Json values from Api & also attaching the Graph look which I want.
Help me how I can achieve this.
Thanks in advance.
- Wa MobileApps asked 6 years ago
- You must login to post comments
Hi there,
Unfortunately we don’t provide any parser for JSON so you will need to implement this functionality on your own ( there are a lot of libraries which implement this functionality ) and add parsed data into data series.
Regarding your questions related to visualization of data:
1. To provide desired coloring of candle stick series you can use our PaletteProvider API;
2. Unfortunately we don’t provide built-in BrushStyle which allows to fill bands with dots but I think you can use TextureBrushStyle with texture which contains dots for FillBrushStyle and FillY1Style properties to provide desired appearance of band series;
3. Orange line is pretty simple, you just need to provide orange stroke style for line series;
4. Blue line and orange line with balls can be drawn as line series with ellipse PointMarker + you can use PaletteProvider API to provide colors which differ from default color for point marker or you can use CustomAnnotation with Drawable/View which draws ball with custom color.
Hope this will help you!
If you have some additional help please feel free to ask.
Best regards,
Yura
- Yura Khariton answered 6 years ago
-
Hi, Thanks for your response. But I have one more query on the same, as I have values in the list to show CandlestickChart on the surface. Now I want to show FastBandRendererSeries Chart depends on the another list over the CandleStickChart on the same surface, but both list sizes are different. So I want that both charts width is similar on the surface, so can you tell me how we can stretch that FastBandRendererSeries Chart over the Candlestick, so that it will look similar. Thanks.
-
Hi. I’m not sure that I fully understand your requirements but I would suggest to try using multiple axis in your chart and use different axes for FastBandRenderableSeries and FastCandleStickRenderableSeries. In this case you can scale each series independently so they match each other. If you need to show only one X/Y axis in chart you can make other axes invisible. If you need more information I would suggest to take a look on our tutorial (https://www.scichart.com/documentation/android/v2.x/webframe.html#Tutorial%2008%20-%20Adding%20Multiple%20Axis.html) and on examples from our Demo application ( https://www.scichart.com/example/android-chart-example-multiple-xaxis/ and https://www.scichart.com/example/android-chart-example-secondary-y-axis/ ). Best regard, Yura.
-
Hi, As I am trying to show Date on the X-axis but it is currently showing only values as 00:01, 00:02 and so on. But I am inserting Date in the ArrayList, then I want to show Date on the same axis. Thanks.
-
Hi, have you tried to change format string for your xAxis. Please take a look on this article from our documentation – https://www.scichart.com/documentation/android/v2.x/webframe.html#Axis%20Labels%20-%20TextFormatting%20and%20CursorTextFormatting.html . In case if you need to implement more complex case with custom label formatting you can override default LabelProvider implementation for xAxis (by default it just uses strings provided by axis to format axis label ). If you need more information about LabelProvider API then you can take a look on this article from our documentation – https://www.scichart.com/documentation/android/v2.x/webframe.html#Axis%20Labels%20-%20LabelProvider%20API.html .Hope that this will help you!
- You must login to post comments
Please login first to submit.