jheaton Posted July 11, 2013 Report Share Posted July 11, 2013 I have a fairly standard line chart with 2 or 3 series of data, showing process data over a time domain. What I wish to do is highlight a subsection of this data. For example, the event of interest is from 12:00 noon to 1:30pm, but for the sake of analysis, I am showing data from 10:00AM to 3:00PM. I want to draw a different color on the background of the chart from noon to 1:30, and leave the rest white. After a review of the API, I found no good way to do this built-in, so I reserted to drawing a custom background image. My problem now is that I cannot get the area of the actual plot, which I need to accurately place the highlight. Is there any way to do this with ChartFX 7? Quote Link to comment Share on other sites More sharing options...
AndreG Posted July 11, 2013 Report Share Posted July 11, 2013 Have you looked at axis sections? http://support.softwarefx.com/Chart_FX_7/article/2501002#5a0e7788-1f34-e211-84a5-0019b9e6b500 Quote Link to comment Share on other sites More sharing options...
jheaton Posted July 11, 2013 Author Report Share Posted July 11, 2013 Is there any way to use axis sections with a datetime domain? From and To are of type "double". Quote Link to comment Share on other sites More sharing options...
AndreG Posted July 11, 2013 Report Share Posted July 11, 2013 Yes, you can use ToOADate. http://msdn.microsoft.com/en-us/library/system.datetime.tooadate.aspx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.