horizontal line on stock chart with Alert/Event capability

Hello.

         is this possible to add horizontal on stock chart. the horizontal line should generate event if price cross up or cross below the horizontal line. the purpose is to process the order if price cross the secific limit.

please take look on attached chart as reference.


thank you 

2021-12-14_23h52_46.png



1 Reply

DG Durga Gopalakrishnan Syncfusion Team December 16, 2021 03:10 PM UTC

Hi Developer, 

Greetings from Syncfusion. 

We request you to use StockChartAxisStripLines to achieve your requirement. Please check with the below snippet and sample. 

<SfStockChart> 
    <StockChartPrimaryYAxis> 
        <StockChartAxisStripLines> 
            <StockChartAxisStripLine Color="dodgerblue" Start="200" End="201" Visible="true"> 
            </StockChartAxisStripLine> 
        </StockChartAxisStripLines> 
    </StockChartPrimaryYAxis> 
</SfStockChart> 
 


Kindly revert us if you have any concerns. 

Regards, 
Durga G 


Loader.
Up arrow icon