I am using Visio Professional 2021 and VS 2019 for my development.
I want to add data graphics to my added shape in Visio as per the below screenshot. Can you suggest some possibilities in C#?
Below is my code which I have tried to
short customProps = (short)VisSectionIndices.visSectionProp;
short rowNumber = shape.AddRow(customProps, (short)VisRowIndices.visRowLast, (short)VisRowTags.visTagDefault);
shape.CellsSRC[customProps, rowNumber, (short)VisCellIndices.visCustPropsLabel].FormulaU = "\"" + PropertyName + "\"";
shape.CellsSRC[customProps, rowNumber, (short)VisCellIndices.visCustPropsValue].FormulaU = "\"" + propertyValue + "\"";
But i want to add data graphics on each shape as per the shown image.