This project is read-only.

ChartPlotter Save Screenshot() issue

Mar 19, 2014 at 10:29 AM
hi ... Please see my code below
public void UpdateView()
        this.Cursor = Cursors.Wait;
        // Adding Rows
        int No_of_Rows = myList.Count;
        if (No_of_Rows == 0) return;
        for (int i = 0; i < No_of_Rows; i++)
        this.Cursor = Cursors.Arrow;


Generate(int RowCount)
        // Creation of ChartPlotter and hosting into WrapPanel
        ChartPlotter chartParameterDisplay = new ChartPlotter();
        chartParameterDisplay.Height = 175;
        chartParameterDisplay.Width = 275;
        ChartsWrapPanel.Orientation = Orientation.Horizontal;

        SetChartsAttributes(chartParameterDisplay, RowCount); //Method for Setting the charts attributes like vertical title and horizontal title

        EnumerableDataSource<System.Windows.Point> ScatterdataSource = new EnumerableDataSource<System.Windows.Point>(pointCollection);
        ScatterdataSource.SetXMapping(x => x.X);
        ScatterdataSource.SetYMapping(y => y.Y);

        //Scatter plot generation
        CirclePointMarker marker1 = new CirclePointMarker();
        marker1.Size = 6; marker1.Fill = System.Windows.Media.Brushes.Blue;

         MarkerPointsGraph marker_pointgraph = new MarkerPointsGraph();
        marker_pointgraph.Marker = marker1;
        marker_pointgraph.DataSource = ScatterdataSource;



Problem :
  Saving the first chartplotter is not a problem. From the second chartplotter, saving the chartplotter is always black.( i.e, From the second chartplotter in UI the charts are visible but saving it or copy pasting the chart always turns to be black)... Please help me in this problem.