Jump to content
Software FX Community

bskidan

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bskidan

  • Rank
    Member
  1. Thank you, Juan. This works great - exactly what I was looking for.
  2. I'm trying to format series ToolTip using my own DataTemplate. The tooltip is formated correctly, but it is displayed within another element (ToolTip I guess) that I can't find a way to get rid of. The element is formatted based on the style that the chart uses (Basic in my case - light yellow rectangle). All I need is a rounded rectangle using my application colors. Xaml below:<cfx:Chart Name="_dataChart" Style="{x:Static cfxmotifs:Basic.Style}" DataBound="_dataChart_DataBound"> <cfx:Chart.Series> <cfx:SeriesAttributes BindingPath="SeriesA" Content="Series A" Gallery="Area"
  3. Ok, found this one myself. Instead of specifying Axis inside SeriesAttributes element I've created an aixis on the chart level and only referenced the existing axis from my series: <cfx:Chart Name="_dataChart" Style="{x:Static cfxmotifs:Basic.Style}"> <cfx:Chart.AxesY> <cfx:Axis Position="Near"> <cfx:Axis.Labels> <cfx:AxisLabelAttributes BindingPath="SeriesA" /> </cfx:Axis.Labels> </cfx:Axis> </cfx:Chart.AxesY> <cfx:Chart.Series> <cfx:SeriesAttributes BindingPath="Series
  4. JuanC, Thank you very much. This is exactly what I was looking for.
  5. Thanks for your prompt reply. The reason I wanted templates is to attach converter to format labels the way I would like them to look. I work with financial data and my values range varies from one set of data to another and can be in tens or hundreds of thousands, or millions, or tens of millions. A simple currency format displays something like $10,000,000, which is too long. I tried to play around with ScaleUnit and CustomFormat and came up with something like this: <cfx:AxisLabelAttributes ScaleUnit="1000000" CustomFormat="$#,0.##M;($#,0.##M)"/> This displays labels l
  6. I'm trying to provide my own DataTemplate for AxisY labels. This works for AxisX but not for AxisY. Does this even suppose to work? <cfx:Chart Name="_dataChart"> <cfx:Chart.Series> <cfx:SeriesAttributes BindingPath="SeriesA" Content="Series A" Gallery="Area"> <cfx:SeriesAttributes.AxisY> <cfx:Axis> <cfx:Axis.Template> <DataTemplate> <TextBlock Text="{Binding DataItem.SeriesA, StringFormat='#,0.##'}" /> </DataTemplate> </cfx:Axis.Template> </cfx:Axis> </cfx
  7. I'm populating chart with some data based on user selection. Data values ranges are different for each user selection. When simple chart is configured without explicit AxisY it works fine, changing scale up or down to fit the actual values: <cfx:Chart Name="_dataChart"> <cfx:Chart.Series> <cfx:SeriesAttributes BindingPath="SeriesA" Content="Series A" Gallery="Area"/> </cfx:Chart.Series> </cfx:Chart> But if I specify AxisY to format labels the the scale grows to accommodate larger values but never shrinks: <cfx:Chart Name="_dataChar
  8. Thanks. How can I get the latest hot fix? I'm using eval version and the only build I can download from your web site is 3422.
  9. Any updates on this one? Or an ETA when it may become available? Thanks.
  10. Hi. I was trying to use your example, but it doesn't compile: 'ItemAttributes' property is read-only and cannot be set from markup. Any suggestions how to fix it? I need a very simple scenario where I hide one specific item from the legend. I'm evaluating version 8.0.3422. Thanks, Boris.
×
×
  • Create New...