Hi, I'm trying to place some text above and under specific candles in SfStockChart like shwon in this photo.
The only way I could find doing it in Syncfusion.SfStockChart is using StockChartStockEvents. First of all please let me know if there is any other way to achieve this smoother.
using the code:
"
<SfStockChart>
<StockChartSeriesCollection>
<StockChartSeries DataSource="@StockDetails" Type="ChartSeriesType.Candle" XName="Date" YName="Close" High="High" Low="Low" Open="Open" Close="Close" Volume="Volume"></StockChartSeries>
</StockChartSeriesCollection>
<StockChartStockEvents>
@foreach (var d in StockDetails)
{
<StockChartStockEvent [email protected] Text="txt" Description="desc" Type=FlagType.Text PlaceAt="Open">
<StockChartStockEventsBorder Color="#f48a21"></StockChartStockEventsBorder>
<StockChartStockEventsTextStyle Color="#f48a21"></StockChartStockEventsTextStyle>
</StockChartStockEvent>
}
</StockChartStockEvents>
</SfStockChart>
"
This is what I get so far:
The problems I find here are:
Thanks in advance for any help.
Hi CageE,
Greetings from Syncfusion.
We have considered the reported scenario as a bug and logged a defect report for the same. The fix for the reported scenario will be included in our weekly patch release which is expected to be rolled out on 16th August, 2022. Please find the below feedback link to keep track of the reported scenario.
Feedback link: https://www.syncfusion.com/feedback/36726/stock-chart-text-is-not-positioned-properly
If you have any more specifications/precise replication procedure to be tested, you can post it as a comment in the portal.
Regards,
Swetha
Thanks for the reply,
It's nice to see that the fix will rolled out so quickly.
Did you have thoughts or solution on the 2nd question I had posted?
Is there a way to position the text below the Low point? I guess even if this bug is fixed, the text will still be positioned above the Low point which will end up on the lower shadow or body of the candle.
Hi Cage,
Sorry for the inconvenience. As of now, we don’t have support to place the text below the candle. Please let us know if you have any other concerns.
Regards,
Durga Gopalakrishnan.
Hi CageE,
Thank you for your patience.
We have included the fix for the reported issue in our weekly patch release(v20.2.44). You can download the package from the following link.
https://www.nuget.org/packages/Syncfusion.Blazor
Please upgrade the Syncfusion.Blazor package to the latest version to resolve the reported issue. Please get back to us if you need further assistance.
Regards,
Swetha
Thank you for the update but I had to choose other solution as you don’t have support to place the text below the candle at the moment, which was important requirement for me.
Cheers!
Hi CageE,
We have considered the reported scenario as an improvement and logged a feature request for the same. This improvement will be included in our Volume 3 SP release which is expected to be rolled out at the mid of October 2022. Please find the below feedback link to keep track of the reported scenario.
Feedback link: https://www.syncfusion.com/feedback/37124/support-to-place-the-text-below-the-candle
If you have any more specification/precise replication procedure to be tested, please add it as a comment in the portal. Please get back to us if you need further assistance.
Regards,
Swetha
Hi CageE,
Thank you for your patience.
We have included the fix for the reported scenario in our Volume 3 SP release(v20.3.58). You can download the latest package from the below link.
https://www.nuget.org/packages/Syncfusion.Blazor
You can upgrade the Syncfusion.Blazor package to
the latest version to resolve the reported scenario. Please get back to us if
you need further assistance.