StockChartStockEvent only working on a day level, if you try to add them to hour or minute data they will not be shown
StockChartStockEvent only working on a day level, if you try to add them to hour or minute data they will not be shown
if you have data that are in a sacle of day by day this works
<StockChartStockEvent Date="new DateTime(2012,04,03)" Text="Q1" Description="AAPL Stock" Type="FlagType.Text" Background="#dd3c9f">
<StockChartStockEventsBorder Color="#dd3c9f"></StockChartStockEventsBorder>
<StockChartStockEventsTextStyle Color="white"></StockChartStockEventsTextStyle>
</StockChartStockEvent>
<StockChartStockEventsBorder Color="#dd3c9f"></StockChartStockEventsBorder>
<StockChartStockEventsTextStyle Color="white"></StockChartStockEventsTextStyle>
</StockChartStockEvent>
if you have data on a minute scale or hour scale, this does not work anymore
<StockChartStockEvent Date="new DateTime(2012,04,03, 15,7,0)" Text="Q1" Description="AAPL Stock" Type="FlagType.Text" Background="#dd3c9f">
<StockChartStockEventsBorder Color="#dd3c9f"></StockChartStockEventsBorder>
<StockChartStockEventsTextStyle Color="white"></StockChartStockEventsTextStyle>
</StockChartStockEvent>
<StockChartStockEventsBorder Color="#dd3c9f"></StockChartStockEventsBorder>
<StockChartStockEventsTextStyle Color="white"></StockChartStockEventsTextStyle>
</StockChartStockEvent>
SIGN IN To post a reply.
8 Replies
1 reply marked as answer
SM
Srihari Muthukaruppan
Syncfusion Team
July 29, 2020 09:20 AM UTC
Hi Andreas,
We have analyzed your query. From that, we would like to let you know that the stock events in the stock chart are working fine. Unfortunately, we are unable to reproduce the reported scenario. We have also attached the UG link and sample used for testing for your reference. Please find the below code snippet, screenshot, and sample.
Code Snippet:
|
// add your additional code here
<StockChartStockEvents>
<StockChartStockEvent Date="new DateTime(2012, 09, 01)" Text="Q4" Description="2013 Quarter4" Type="FlagType.Flag" Background="#6c6d6d"> <StockChartStockEventsBorder Color="#6c6d6d"></StockChartStockEventsBorder> <StockChartStockEventsTextStyle Color="white"></StockChartStockEventsTextStyle> </StockChartStockEvent> <StockChartStockEvent Date="new DateTime(2013, 07, 30, 15, 07, 00)" Text="G" Description="Google Stock" Background="#f48a21"> <StockChartStockEventsBorder Color="#f48a21"></StockChartStockEventsBorder> <StockChartStockEventsTextStyle Color="white"></StockChartStockEventsTextStyle> </StockChartStockEvent> </StockChartStockEvents> |
Screenshot:
If you still face this issue. Kindly revert us with the following information which will be more helpful for further analysis and provide you the solution sooner.
- Try to reproduce the reported scenario in the above sample
- Share the nugget version used in the project.
- Share the details if you have done any other customization in your sample.
Regards,
Srihari M
AN
Andreas
July 29, 2020 12:15 PM UTC
yes but your chart data are based on daly datapoints, i'm talking about minute based datapoints.
Attachment: StockEventsMinuteBasedDataExample_d9f3ae11.zip
i modifed your example to show you what i mean.
you can see the event Q4 is shown but G is not
Attachment: StockEventsMinuteBasedDataExample_d9f3ae11.zip
one more thing:
is this the correct way to add StockEvents from a methode? (it works but Visual Studio gives the hint that you should not change StockChartStockEvent probierties outside.
StockChart?.StockEvents.Add(new StockChartStockEvent()
{
Date = new DateTime(2012, 04, 02, 15, 7, 0),
Text = "IC1",
Description = "added on chart load, to a minute",
Type = FlagType.Circle,
Background = "#6c6d6ds",
ShowOnSeries = true,
});
SM
Srihari Muthukaruppan
Syncfusion Team
July 30, 2020 12:22 PM UTC
Hi Andreas,
We have analyzed your query. We were able to reproduce the issue in your version and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.
Feedback Link: https://www.syncfusion.com/feedback/16559/stockevents-not-working-properly-for-seconds
The fix will be available in our weekly patch release which is scheduled to be rolled out on or before August 11th, 2020. We appreciate your patience until then.
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Thanks,
Srihari.
SM
Srihari Muthukaruppan
Syncfusion Team
August 12, 2020 03:42 AM UTC
Hi Andreas,
Sorry for the inconvenience.
Due to some technical difficulties, we couldn't include this in our weekly patch release. We will include the fix in our weekly patch release which is expected to be rolled out on or before August 18, 2020. We appreciate your patience until then.
Regards,
Srihari M
SM
Srihari Muthukaruppan
Syncfusion Team
August 18, 2020 01:52 PM UTC
Hi Andreas,
Sorry for the inconvenience.
We have provide the support for the reported scenario. Since this is in the testing stage we will include the fix in our upcoming weekly patch release which is scheduled to be rolled out on 25th July 2020. We appreciate your patience until then.
Regards,
Srihari
SM
Srihari Muthukaruppan
Syncfusion Team
August 25, 2020 05:48 PM UTC
Hi Andreas,
We are glad to announce that our v18.2.55 patch release is rolled out, we have added the fix for the reported scenario. And you can use the latest (18.2.55) Syncfusion.EJ2.Blazor NuGet package version and updated interop CDN file to get rid of the reported issue.
Screenshot:
We appreciate your patience in waiting for this release. Kindly let us know if you need further assistance.
Regards,
Srihari
Marked as answer
AN
Andreas
August 27, 2020 10:31 AM UTC
thank you for the update, it works now,
but now I'm not able anymore to add the stockevents on runtime in code like i did before.
StockChart?.StockEvents.Add(new StockChartStockEvent()
{
Date = new DateTime(2012, 04, 02, 15, 6, 0),
Text = "IC1",
Description = "added on chart load, to a minute",
Type = FlagType.Circle,
Background = "#6c6d6ds",
ShowOnSeries = true,
});
{
Date = new DateTime(2012, 04, 02, 15, 6, 0),
Text = "IC1",
Description = "added on chart load, to a minute",
Type = FlagType.Circle,
Background = "#6c6d6ds",
ShowOnSeries = true,
});
please provide an example on how to correctly add StockEvents to a stockchart in runtime from a methode in your c sharp code. like it was possible before as you can see aboth
SM
Srihari Muthukaruppan
Syncfusion Team
September 3, 2020 04:29 AM UTC
Hi Andreas,
We have created a new incident under your Direct trac account to follow up with this query. We suggest you to follow up with the incident for further updates. Please log in using the below link.
Regards,
Srihari M
SIGN IN To post a reply.
- 8 Replies
- 2 Participants
- Marked answer
-
AN Andreas
- Jul 28, 2020 03:09 PM UTC
- Sep 3, 2020 04:29 AM UTC