TinyButStrong - the PHP Template Engine
Categories > OpenTBS with DOCX >

Dynamically changing chart display of data from numeric to percentage

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Jonathan Hill
Date: 2017-03-12
Time: 19:48

Dynamically changing chart display of data from numeric to percentage

Hello,
I'm aware that you can change display of chart data from percentage to numeric manually through Word but is there a way of doing it programmatically using Open TBS?

THanks
By: Skrol29
Date: 2017-03-13
Time: 23:06

Re: Dynamically changing chart display of data from numeric to percentage

Hello,

It can be done but it's quite complicated: you have to load the sub-file corresponding to the chart, then edit the XML by yourself.
I don't know the attribute to change for formating of chart data, but it should be easy to find.