toyswqp.blogg.se

Change excel graph axis label
Change excel graph axis label




change excel graph axis label

= Įxcel.Range Data_Range = xlWorkSheet.get_Range("A10", "C10") //Data to be plotted in chartĮxcel.Range XVal_Range = xlWorkSheet.get_Range("A1", "C1") //Catagory Names I want on X-Axis as range Var yAxis = (Excel.Axis)chartPage.Axes(,)

change excel graph axis label change excel graph axis label

Excel.ChartObjects xlChart = (Excel.ChartObjects)xlWorkSheet.ChartObjects(Type.Missing) Įxcel.ChartObject m圜hart = (Excel.ChartObject)xlChart.Add(1420, 660, 320, 180) ĬhartPage.ChartType = Ĭ = "Title Text" I've tried just about everything that i can find but nothing works. I'm able to do everything with the chart EXCEPT change the X-Axis labels. I'm creating an Excel spreadsheet using C#. So I've been trying to figure this out for a while now but can't seem to get anywhere.






Change excel graph axis label