This is excel record macro vba code
Chart ActiveSheet. ChartObjects (" 1 "). Activate
ActiveChart. FullSeriesCollection (2). AxisGroup=2
Chart ActiveSheet. ChartObjects (" 1 "). Activate
ActiveChart. FullSeriesCollection (1). ChartType=xlColumnClustered
ActiveChart. SetElement (msoElementDataLabelShow)
Code sets "of" the cumulative percentage of time axis
Set the "frequency" to bar charts
The chart to add display data tag
Action is the figure

Into the figure

Could you tell me how to write my vc + + code
CodePudding user response:
Try to use the import way of code and VBA is very close toc + + EXCEL Sample