I want to configure the chart as shown in the image.
How should I code to implement the same image in SciChart?
- Jeong HaMin asked 4 months ago
-
Hi Jeong, what you’re looking for is called a Volume Profile or Market Profile chart. We recently published a blog on how to do this in JavaScript (https://www.scichart.com/blog/how-to-create-a-volume-profile-in-a-javascript-financial-chart), but we don’t have an example on Android. I’ve asked the mobile team to create one. Best regards, Andrew
- You must login to post comments
I don’t want the result to look like the image.
I would like to create a Volume Profile chart in Android like [Option 2 – Using the SubCharts API] method in JavaScript(https://www.scichart.com/blog/how-to-create-a-volume-profile-in-a-javascript-financial-chart). Is there no way?
- Jeong HaMin answered 4 months ago
- You must login to post comments
// We can achieve the output by first giving axis id,
// then moving the desired column axis alignment to different axis/location
val xAxis = NumericAxis(this)
xAxis.axisId = "line-xAxis"
val yAxis = NumericAxis(this)
yAxis.axisId = "line-yAxis"
fastLineRenderableSeries = FastLineRenderableSeries()
fastLineRenderableSeries.xAxisId = "line-xAxis"
fastLineRenderableSeries.yAxisId = "line-yAxis"
// Move the axis alignment to left and top and then hide these axis.
// Don’t forget to give axis id to renderable series
val xColumnAxis = NumericAxis(this)
xColumnAxis.axisId = "column-xAxis"
xColumnAxis.axisAlignment = AxisAlignment.Left
xColumnAxis.visibility = View.GONE
val yColumnAxis = NumericAxis(this)
yColumnAxis.axisAlignment = AxisAlignment.Top
yColumnAxis.axisId = "column-yAxis"
yColumnAxis.visibility = View.GONE
val fastColumnRenderableSeries = FastColumnRenderableSeries()
fastColumnRenderableSeries.xAxisId = "column-xAxis"
fastColumnRenderableSeries.yAxisId = "column-yAxis"
- Maulik Senghani answered 4 months ago
- You must login to post comments
Please login first to submit.