Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am sorry to post this question, cause I am very good in
VB programming. I need to draw a chart (the data is in the excel files), and This is my code. The chart type I want is xl3DColumnClustered, and Z6:z13 contains the data I want to plot, and Y6:Y13 contains the label I want to put into the x-axis as lable. With ActiveWorkbook.Charts(Charts.Count) .ChartArea.Border.ColorIndex = 5 .ChartWizard Source:=ActiveWorkbook.Worksheets (SheetName).Range("Z6:Z13"), Gallery:=xl3DColumn .ChartType = xl3DColumnClustered .Axes(xlValue).TickLabels.NumberFormat = "0.00" .HasLegend = False .Axes(xlCategory).HasTitle = True .Axes(xlCategory).AxisTitle.Caption = "Package Size" .Axes(xlValue).HasTitle = True .Axes(xlValue).AxisTitle.Caption = "Through Put" .HasTitle = True .ChartTitle.Text = ChartTitleAll End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to put a NAME in the Horizontal category axis label. | Excel Discussion (Misc queries) | |||
Category axis label problem at column chart | Charts and Charting in Excel | |||
Column chart - category axis - make to start with the second label | Excel Discussion (Misc queries) | |||
Column chart - category axis - make to start with the second label | Charts and Charting in Excel | |||
label the category axis from 0 to 30, step 5 in an excel chart | Charts and Charting in Excel |