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?
Currently, the Timeline doesn’t have functionality to prevent overlapping between the events points/spans. You can submit a feature request here: http://devcenter.infragistics.com/protected/requestfeature.aspx
What decides if the span is on the axis line, or above/below the axis line? In some of the examples in the documentation I can see it sometimes move spans above the line, even if there is just one series. I have 3 data series and they all end up on the axis, even if I can't set where is puts it, why do some of the examples show it?
Example from Documentation with 1 data series
Example with Multiple Data Series
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
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?