Jump to content
Software FX Community

octa

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by octa

  1. 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 

     

     

     

  2. 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

     

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

     

  8. 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!

     

     

    Posted Image

     

×
×
  • Create New...