in Education by
I want put perfect percentage on each chart column as shown in fig in C# Windows Forms. How would I accomplish this? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Here, try it: private void fillChart() { //AddXY value in chart1 in series named as Salary chart1.Series["Salary"].Points.AddXY("Ajay", "10000"); chart1.Series["Salary"].Points.AddXY("Ramesh", "8000"); chart1.Series["Salary"].Points.AddXY("Ankit", "7000"); chart1.Series["Salary"].Points.AddXY("Gurmeet", "10000"); chart1.Series["Salary"].Points.AddXY("Suresh", "8500"); //chart title chart1.Titles.Add("Salary Chart"); //These lines will show percentages. chart1.ChartAreas[0].AxisY.LabelStyle.Format = "{#}%"; chart1.Series["Salary"].IsValueShownAsLabel = true; chart1.Series["Salary"].LabelFormat = "{#}%"; }

Related questions

0 votes
    I want put perfect percentage on each chart column as shown in fig in C# Windows Forms. How would ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 6, 2022 in Education by JackTerrance
0 votes
    I have two integer values ta and thc and I'm making the percentage calculation for these two values and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 24, 2022 in Education by JackTerrance
0 votes
    I want to put a value from database because my dropdown already have a value the same as the text ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 30, 2022 in Education by JackTerrance
0 votes
    I have a datagridview that I'm using in Visual Studio 2008 for a winforms app. The datagridview is ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    I have a datagridview that I'm using in Visual Studio 2008 for a winforms app. The datagridview is ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    I want to be able to compare an image taken from a webcam to an image stored on my computer. The ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    I am using C#.Net to send out a HTML email which contains embedded images. These emails work fine ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I am using C#.Net to send out a HTML email which contains embedded images. These emails work fine ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    which one is not a chart components? chart wizard value axis data label category axis Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    I have this: On every second, all images move to the same random position But I want this: On ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    What is a Stacked Column Chart in Tableau?...
asked Nov 1, 2020 in Technology by JackTerrance
0 votes
    What is a Column chart in Tableau?...
asked Nov 1, 2020 in Technology by JackTerrance
0 votes
    I'm writing an app for Android in Xamarin Forms. I want to navigate the user from one page to ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
0 votes
    I'm writing an app for Android in Xamarin Forms. I want to navigate the user from one page to ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
0 votes
    I'm writing an app for Android in Xamarin Forms. I want to navigate the user from one page to ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 9, 2022 in Education by JackTerrance
...