We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,661 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Call a visiblox chart that created with c# code in wpf

Is there a way to call a visiblox chart that created with c# code in wpf?

Let's say that i have created a chart like :

private Chart CreateNewChart(int num_chart, string chartName)
        {
            Chart newChart = new Chart();
            newChart.Name = "Chart_"+num_chart;
            newChart.Title = chartName;
            newChart.Width = 600;
            newChart.Height = 120;
            newChart.Background = Brushes.Transparent;
            newChart.HorizontalAlignment = HorizontalAlignment.Left;
            newChart.VerticalAlignment = VerticalAlignment.Top;
            newChart.Margin = new Thickness(0, (num_chart * 110), 0, 0);
            BehaviourManager behaviour = new BehaviourManager();
            behaviour.AllowMultipleEnabled = true;
            TrackballBehaviour track = new TrackballBehaviour();
            ZoomBehaviour zoom = new ZoomBehaviour();
            behaviour.Behaviours.Add(track);
            behaviour.Behaviours.Add(zoom);
            newChart.Behaviour = behaviour;
            return newChart;
        }

And when i import some date from a csv file i want to add more data from another csv file...

Is there a way to call this created before chart with each name or something?

Thanks in advance...

1
Contributor
0
Replies
1
View
anaisthitos2
Newbie Poster
1 post since Dec 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0566 seconds using 2.66MB