I have 3 datetime series that have there Event Points and Event Spans all overlapping on the axis line. What controls where the Event Points and Event Spans are in relation to the axis? I have even seen examples that have 1 series and the event points/spans don't overlap, so I must have something set that is messing this up?
Try changing the style to:
<Style x:Key="EventSpan_1" TargetType="igtl:EventSpan"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="igtl:EventSpan"> <Grid Margin="0,2,0,2"> <Rectangle Height="10" Fill="Orange" RadiusX="7" RadiusY="7" Stroke="Black"
VerticalAlignment="Top"
StrokeThickness="1"/> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style>
About the default styles you can look here:
http://community.infragistics.com/forums/p/36898/213388.aspx#213388
Currently have this style on spans Mainly to set the color. Got the style from one of the examples. Is there anyplace I can get the default style for spans?
<Style x:Key="EventSpan_1" TargetType="igtl:EventSpan"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="igtl:EventSpan"> <Grid Margin="0,2,0,2"> <Rectangle Height="10" Fill="Orange" RadiusX="7" RadiusY="7" Stroke="Black" StrokeThickness="1"/> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style>
This is strange. Are you using some custom template for the spans? Can you send us your project so we can investigate it?
All my spans and points are showing up on the axis thou, is it because I have spans and points in the same dataseries? Do they need to be in seperate dataseries?
If the specific event entry has Duration equal to 0, it shows a point on the axis line. If the event entry Duration is greater than 0, it shows a span above or below the axis line depending on the position of the Series (Series.Positon property).
If you want to change the styles of the event points/spans, you can look here:
http://help.infragistics.com/Help/NetAdvantage/DV/2009.2/CLR3.5/html/SL_DV_xamWebTimeline_Style_Time_Series.html