Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. some questions about Chart control

some questions about Chart control

Scheduled Pinned Locked Moved C#
questioncomtutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Erdinc27
    wrote on last edited by
    #1

    hey guys..i have a chart control and a datagridview on my form..i want to show the values in a graphic which i have in datagridview..Here is how it looks..i have some questions about it. 1) how i can arrange YAxis increase rate as 1..it increases by 5. 2) how i can move the black lines on backround of my chart area? 3) there are two series(Series 1 and Sayilar) there..i couldnt find any example that i can use Series1..i mean the chart control already has..that is why i created new one(Sayilar)..my question is how i can use Series2 or how i can remove it..here is the codes i created and added it to my chart control 4) how i can add some texts of Chart control Axis to inform the user which columns means what

    Series series = new Series("Sayilar");
    series.Color = Color.DarkGoldenrod;
    series.BackSecondaryColor = Color.OrangeRed;
    series.BackGradientStyle = GradientStyle.LeftRight;

            series.XValueMember = "Sayilar";
    
            series.XValueType = ChartValueType.String;
    
            series.YValueMembers = "Kaç Kere";
            series.YValueType = ChartValueType.String;
           
    
            series.ChartType = SeriesChartType.Column;
            
            chart1.Series.Add(series);
    

    than ks for your helps and answers

    vemedya.com

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups