Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Fri Jul 31, 2015 10:10 am

1). Can I change the Font size from axis where we have a chartDatatable??
2). Can I change the color in chart column wise not by series wise but category Wise??
3). Can I set the bullet as Microsoft OFfice 10 have named "Star Bullet"??
4). can I give percentage value in the chart? and display the Percentage in the bellow the chartdata table??

jayesh199044
 
Posts: 5
Joined: Thu Feb 12, 2015 10:00 am

Mon Aug 03, 2015 2:14 am

Dear Jayesh,

Sorry for late reply. The below is answer to your Queries.
1). Can I change the Font size from axis??
Sorry that at present Spire.Presentation doesn’t support to change the Font size from axis where we have a chartDatatable.
2). Can I change the color in chart column wise??
Please refer to below codes:
Code: Select all
            for (int r = 0; r < 6; r++)
            {
                if (r%2 == 0)
                {
                    ChartDataPoint cdp = new ChartDataPoint(chart.Series[0]);
                    cdp.Index = r;
                    cdp.Fill.FillType = FillFormatType.Solid;               
                    chart.Series[0].DataPoints.Add(cdp);
                    cdp.Fill.SolidColor.Color = Color.Red;

                }
                else
                {
                    ChartDataPoint cdp = new ChartDataPoint(chart.Series[0]);
                    cdp.Index = r;
                    cdp.Fill.FillType = FillFormatType.Solid;
                    chart.Series[0].DataPoints.Add(cdp);
                    cdp.Fill.SolidColor.Color = Color.Blue;

                }
               
            } 


3). Can I give the bullets as Office 10’s Star Bullets??
Please refer to below code:
Code: Select all
            TextParagraph tp = textRange.Paragraph;
            tp.BulletType = TextBulletType.Symbol;
            tp.BulletChar = Convert.ToChar(9733);
            tp.BulletColor.Color = Color.Black;


4). can I give percentage value in the chart? and display the Percentage in the bellow the chartdata table??
Sorry that I didn’t understand your target, please attach your target PPT document which you want to achieve. We will investigate this issue and then provide you codes accordingly ASAP.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.Presentation