This is a migrated thread and some comments may be shown as answers.

Dynamically display timebar lines

1 Answer 75 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Datafyer
Top achievements
Rank 1
Veteran
Datafyer asked on 23 May 2011, 03:30 PM
I have a list of items that are generated based on user selections and I would like to display them on a timebar. I did create a converter to convert from my item to a RadLinearSparkline, but I can not figure out how to attach this Observable collection to display on the RadTimeBar. Is it only possible in the code behind?

1 Answer, 1 is accepted

Sort by
0
Datafyer
Top achievements
Rank 1
Veteran
answered on 23 May 2011, 03:45 PM
After thinking about it a bit more I came to a solution.

<ItemsControl ItemsSource="{Binding Path=SelectedSnapshotUnits, Converter={StaticResource SnapshotUnitsToSparklineConverter}}" >
    <ItemsControl.ItemsPanel>
        <ItemsPanelTemplate>
            <Grid/>
        </ItemsPanelTemplate>
    </ItemsControl.ItemsPanel>
</ItemsControl>
Tags
TimeBar
Asked by
Datafyer
Top achievements
Rank 1
Veteran
Answers by
Datafyer
Top achievements
Rank 1
Veteran
Share this question
or