Jump to content
Software FX Community

charlierobbins

Members
  • Posts

    2
  • Joined

  • Last visited

charlierobbins's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Juan, Thanks for the initial help. I got your example working, but I do not plan on using an XmlDataProvider in my application. Do you have any examples that have the ItemsSource of the Chart databound to an ObservableCollection of a custom data object? I have tried getting this to work using a simple binding: <cfx:Chart x:Name="CandlestickChart" ItemsSource="{Binding SampleData}" Gallery="Candlestick"> Where SampleData is an ObservableCollection<CandleStickDataItem>. CandleStickDataItem has Properties on it called High, Low, Open and Close. I then modified the <SeriesAttributes>: <cfx:SeriesAttributesCollection> <cfx:SeriesAttributes BindingPath="Open"/> <cfx:SeriesAttributes BindingPath="High"/> <cfx:SeriesAttributes BindingPath="Low"/> <cfx:SeriesAttributes BindingPath="Close"/> </cfx:SeriesAttributesCollection> But I got no results shown. Any advice on using this functionality correctly? Also we are building a highly stylized application and I can't seem to find a good way to style a CandleStick chart. It seems quite simple for a bar or pie chart as shown in your sample; I simply utilize <SeriesAttribute.Template />. What's the correct approach for a CandleStick? Thanks Charlie
  2. Is there anywhere that I can find a declarative example for how to use the Candlestick Gallery? I've been pouring over your documentation, but there doesn't seem to be much regarding candlestick charts. Specifically, I'm curious what I should set the BindingPath attribute on the SeriesAttributes object I am setting for Chart.Series. For standard charts (i.e. charts with two data points, not four) there is "BindingPath," "BindingPathX", etc. Thanks Charlie
×
×
  • Create New...