daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. chartname.DataSource = EventcategoryopenCount;
  2. chartname.Series["OPEN"].XValueMember = "Key";
  3. chartname.Series["OPEN"].YValueMembers = "Value";
  4. chartname.DataSource = EventcategoryreductCount;
  5. chartname.Series["Close"].XValueMember = "Key";
  6. chartname.Series["Close"].YValueMembers = "Value";
  7. chartname.DataBind();
  8.    
  9. chartname.Series["OPEN"].Points.DataBind(EventcategoryopenCount, "Key", "Value", "");
  10. chartname.Series["Close"].Points.DataBind(EventcategoryreductCount, "Key", "Value", "");
  11.    
  12. chartname.DataSource = EventcategoryreductCount;
  13.  
  14. Series s = new Series("OPEN");
  15. s.XValueMember = "Key";
  16. s.YValueMembers = "Value";
  17. s.ChartType = SeriesChartType.Line;
  18.  
  19. Series s2 = new Series("Close");
  20. s2.XValueMember = "Key";
  21. s2.YValueMembers = "Value";
  22. s2.ChartType = SeriesChartType.Line;
  23.  
  24. chartname.Series.Add(s);
  25. chartname.Series.Add(s2);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top