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 white collor for backgrounds:
<!-- Background defaults --> <item name="sciChartBackground">@color/white</item> <item name="legendBackground">@color/white</item> <item name="axisTooltipBackground">@color/white</item>
But I whant to display text view uhder chart
When I set backgrounds as transparent I see black lines
And questions is:
1. how can I setup chart to display text under chart component
2. where I can read/see information about styles and for which each parameter is needed.
On first screenshot its what I needed
On second one what I have
To display other Views under the chart you’ll need to switch to another IRenderSurface implementation because default one uses GlSurfaceView as a base and it doesn’t allow to draw anything below it. We provide two alternative implementations which are abit slower than default one but don’t have problems with transparency – one which is based on TextureView (GLTextureView) and another which uses Canvas API for drawing(RenderSurface). To switch you just need to set new render surface instance for your chart:
// set Canvas based renderer surface.setRenderSurface(new RenderSurface(getActivity()));
// set OpenGL Texture based renderer surface.setRenderSurface(new GLTextureView(getActivity()));
Regarding styling of chart – unfortunately we don’t have a separate article about chart themes but I would suggest to take a look on IThemeProvider interface and comments for its members which should explain the purpose of each theme parameter.
Hope this will help you!
Please login first to submit.