Pre loader

Tag: trademarkers

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1 vote
10k views

Hi,
I am using a SciStockChart and trying to add Trade Markers as outlined here https://www.scichart.com/annotations-adding-trade-markers-to-a-chart/. However, I am not getting a proper xCoordinate from the coordinate calculator. I believe SciStockChart is using a CategoryCoordinateCalculator and I must do an extra step in order to get the proper result from the DateTime input. Here is the line that is not working correctly. double xCoord = xCoordCalculator.GetCoordinate(trade.ExecutionTime.Value); Is there another step I need to take in order to get the proper xCoord value?
thanks,
Dewey

Showing 1 result

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies