Jump to content
Software FX Community

Darin Daubert

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Darin Daubert

  1. Hi JuanC,I used the workaround since build 3595 isn't released to production yet. Thanks again for the help!!! It's very much appreciated!Darin
  2. Hi JuanC,I used the workaround since build 3595 isn't released to production yet. Thanks again for the help!!! It's very much appreciated!Darin
  3. I've attached the picture that was included in the ZIP file. Notice that the line extends beyond the lowest data point and that data point 2 connects to datapoint 4. Data point 3 appears off to the left of the line. Instead, data point 2 should connect to data point 3 and then data point 3 connect to data point 4.
  4. I've attached a picture showing what I'm getting. Notice that there is no line between the two data points.
  5. Hello -- I'm having another issue similar to the one I just posted about data points not being connected with a line when data points are close to each other. In this case, I have 4 data points. Based on my sort order, point 1 should connect to 2, 2 to 3, and 3 to 4. However, what I'm seeing is that point 1 connects to 2, and 2 to 4. Point 3 appears slightly to the left of the line graph. I've attached a stub application reproducing what I'm getting. In the test app, I've included two sets of lines. One line that has the data points spread out a little more and is displaying the line correctly. The other line has my data points 15 minutes apart and is connecting them as mentioned above. file:///C:/Users/DDAUBE%7E1.TIG/AppData/Local/Temp/moz-screenshot.pngfile:///C:/Users/DDAUBE%7E1.TIG/AppData/Local/Temp/moz-screenshot-1.png I have comments throughout the test application that hopefully will point you in the right direction. I also added an image to the ZIP file pointing out what I'm seeing. What am I doing wrong? Thank you again! Darin Daubert
  6. Hello,I recently ran into a problem where I'm showing two sequential data points in a line chart and the data points are not being connected. The chart shows 5 days worth of data, so the X axis is set to Date and I've set a min/max/step on the axis. The two sequential data points are 10 minutes apart. If I make the data points 30 or more minutes apart, a line is drawn between the two data points perfectly fine. We are in the midst of switching from our legacy ActiveX ChartFX 4.5 over to the WPF version and the ActiveX version is working fine. I've attached a sample application demonstrating my issue. Is there something I'm doing wrong? Thank-you,Darin Daubert
  7. Hope I can explain this, but this is one where my attached pictures and project file will speak louder than my post... I'm currently bound to a business object that has a datetime, and two nullable float properties. Some of the instances of the business object could have one or both of the float values. I've bound the list of objects to a line chart. Whenever the chart sees a NULL value it doesn't chart the value (which is good), but it also doesn't connect point A to point C. In most circumstances this is exactly what I would normally want, however, I have a business requirement for one of my graphs that point A should connect to point C when point B is null. I've attached two pictures, one showing the default behavior and one showing what I would like. I've also attached a sample application. Is there some way that I could get the line to carry through without rewritting the business object as two seperate lists? Thank-you,Darin Daubert
  8. I've been getting an IndexOutOfRangeException on my graphs when I set the AxisX.Min and AxisX.Max when my axis format is a date format. I've attached a sample app recreating the issue I'm getting. The strange thing is that if you remove the WindowState=Maximized in XAML, I no longer get the error. Alternatively, I can also remove the AxisX.Min and AxisX.Max calls, and I no longer get the error. Unfortunately, in my project, I need to be able to set the Min and Max dates. Can you take a look at the example and let me know what I'm doing wrong? Thanks again!Darin
  9. Ah -- that makes perfect sense. Here is what my object hierarchy looks like- ViewModel object (contains the TotalBonusesLabel property) - Employees - Employee (contains the TotalBonus property) The Chart's DataContext is the ViewModel, and the ItemSource is Employees. For my binding on the SeriesAttributes object, I'm using a relative source to get back to my ViewModel object for the label:Example: {Binding Path=DataContext.TotalBonusesLabel, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type cfx:Chart}}}Thank-you for the quick response!Darin
  10. I think I found a way to do this -- I basically ended up creating my own DataTemplate. However, since both series would have to bind to a different label property on my business object, I'd have to create DataTemplates for each series. Is my approach the best way or is there another cleaner way? <cfx:Chart.Series> <cfx:SeriesAttributesCollection> <cfx:SeriesAttributes BindingPath="TotalBonuses"> <cfx:SeriesAttributes.ContentTemplate> <DataTemplate> <TextBlock Text="{Binding TotalBonusesLabel}" /> </DataTemplate> </cfx:SeriesAttributes.ContentTemplate> </cfx:SeriesAttributes> <cfx:SeriesAttributes BindingPath="AvgSalary"> <cfx:SeriesAttributes.ContentTemplate> <DataTemplate> <TextBlock Text="{Binding AvgSalaryLabel}" /> </DataTemplate> </cfx:SeriesAttributes.ContentTemplate> </cfx:SeriesAttributes> </cfx:SeriesAttributesCollection> </cfx:Chart.Series>
  11. I currently have two series that are bound to a business object. The property names in the business object (let's say for this example TotalBonuses and AvgSalary) are not the labels I'd like shown in the LegendBox. Is there a way to override the labels to show something else? I'd prefer doing it in XAML, but if I have to in-code, that's also fine. Thank-you!Darin
  12. Hello,I'm setting the marker's size property in XAML and while the marker changes in the plot area, it is not changing in the Legend box. Is there a custom template that I have to write or something to get the Legend marker size to match what I specified in the series? Series marker XAML: <cfx:SeriesAttributes ItemsSource="{Binding Series}" Gallery="Line" BindingPath="LabResult" BindingPathX="ObservationDate"> <cfx:SeriesAttributes.Marker> <cfx:MarkerAttributes Shape="Circle" Size="6" /> </cfx:SeriesAttributes.Marker> </cfx:SeriesAttributes>LegendBox XAML: <cfx:Chart.LegendBox> <cfx:LegendBox Visibility="Hidden" DockPanel.Dock="Bottom" Background="#F0F0F0" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" FontSize="9"> </cfx:LegendBox> </cfx:Chart.LegendBox> I've attached an export of the graph to show what I mean. Notice that the series circle marker is smaller than the one shown in the legend. I'd like the legend to be smaller as well. Thank-you in advance!Darin
×
×
  • Create New...