Jump to content
Software FX Community

octa

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by octa

  1. Is there any way to set the number of decimals in pointlabels in code behind? Thanks, Dan
  2. octa

    X-Axis AxisStyles

    This has been touched on in an earlier post but it hasn't been answered. I'm trying to set a combination of AxisStyles values on the X-Axis that I can live with but there are a number of issues. When using default when labels gets tilted 45 degrees they get offset and are not aligned correctly. Is there any way of countering that behavior? When tilted 45 degrees they also do not leave space for the x-axis Title if there is one. Something, I'm not sure what, triggers the processor to work at 100% when resizing a chart with long labels on the x-axis. If I turn of the visibility of the labels to collapsed this doesn't happen. Thanks, Dan
  3. I'm also experiancing these issues. In addition to this the processor can get pegged to 100% when the x-axis titles are long. Any feedback, suggested solutions or workarounds would be highly appreciated. I post this in this thread since I figure it is a closely related issue. I'm very happy with the support I have got on earlier issues. Hope you can solve this one too. Thanks, Dan
  4. Thanks for the reply. First I thought it didn't work but now I tested again and it did work with FalseVisibility set as Hidden. Collapsed made the scale go off the chart. Anyway, thanks a lot for the solution!
  5. I'm hiding series using the legend box like described here: http://community.softwarefx.com/blogs/wpf/archive/2009/05/28/hiding-series-using-the-legend-box.aspx and it works great for most charts. But when using stacked charts or stacked 100% removing series through the legend box seems to set the autoscale of the chart wrong. Not acounting for the highest stacked value anymore. It doesn't matter if I add back the series I removed. Is there a way around this? Let me know if I should provide more information. Thanks, Dan
  6. Yeah that was it. Missed that. Thanks! /Dan
  7. Is there a built in way to set a label for the X and Y axis? Not the axis items but the actual axis itself. One descriptive label for the x-axis and one descriptive label for the y-axis, in addition to the axis item labels. Thanks
  8. Hi,I have a problem with a stacked bar chart, when the chart displays the maximum scale value is auto scaled to the max value for one of the series and not the total. This results in the majority of the data being of the chart. I've used RecalculateScale and it doesn't seem to help. I've searched the forums and found others with similar problems but no solution that works so far. Thanks, Dan
  9. It works, thanks for the great support. I guess the important thing was to wait for the chart loaded event. Thanks, Dan
  10. Thanks! I've compared your sample with my code and the only difference I see is that the ItemsSource on the chart is not set directly in code behind but by databinding in XAML. Then in the code behind I have to wait for the UserControl Loaded event before I set up the CrosstabTransform in code behind. It uses two different columns in the columns field but still wont create any dimensions. I've checked and there clearly is a working ItemsSource with data values and all column names are spelled right and the value path is of type double. I'll copy in some code here just in case you are able to spot something wrong with it: private void UserControl_Loaded(object sender, RoutedEventArgs e) { LoadData(); SetUpMatrix(); } private void LoadData(){ crosstab = new CrosstabTransform(); crosstab.ColumnPath = "Calendar,Country"; crosstab.RowPath = "Group";crosstab.ValuePath = "Internet"; crosstab.JoinOnColumns = true;crosstab.SortRows = true; chart.DataTransforms.Add(crosstab); } private void SetUpMatrix() { GridPanePanel gridPanePanel = new GridPanePanel(); gridPanePanel.Columns = crosstab.Dimensions[0].Count; This is where it breaks when no dimensions get created. Thanks, Dan
  11. Hi Juan, Thanks for the example, very informative! I just got it to work earlier but thanks! I still have the issue with no dimensions being created though. Thanks, Dan
  12. It looks like the databinding works now. I'm trying to do a pane matrix just like in the sample project "Pane Matrix". But even though I've got several columns listed in the column path of the crosstabtransform object there are no dimensions being created. Is there anything special that has to be done in order to get the dimensions created? Thanks, Dan
  13. I'm trying to use a CrosstabTransform with a c# DataTable as a source. Is there any example of how to do this? Binding the ItemsSource of the Chart to the DataTable seems to work but the issue I'm having is setting up the row, column and value path. It doesn't seem to work with the columns of the Dataset. Is there any syntax example? Thanks, Dan
  14. Hi Juan, Thanks for your answer. I'm a bit new to your site. Where do I find this build? I downloaded the latest service pack for ChartFX for WPF: File Name: CfxWPFServicePack.zip Date: 2/22/2010 Version: 8.0.3581.26941 The problem still persisted after that. Thanks!
  15. Is there a way to show the full label name in thumbnail pies that get created for the different series in a pie chart? The available space for the pie thumbnails seem to determine how much of the thumbnail label is to be shown. I guess that adding margin to the thumbnail itself might increase available space for displaying the full title of the thumbnail. Is there a way to do that? If there is another way to show the full title of the thumbnails I'd like to know that of course. Thanks!
×
×
  • Create New...