Where in pdfgen_chart.py did you make that change?
My guess is that most likely you either changed the wrong thing, or didn't change it everywhere it needed to be changed.
Also, what exactly were you trying to change? Because this didn't seem to alter anything noticeable (and expected), only cause a bug or weird behavior - which is frankly what I'd expect if you go changing numbers and things in that python file... 🙂 (At least until you spend an hour debugging what you did...)
thanks for your answer
I just change 600 to 1400 in pdfgen_chart.py to make x-arix full display.
def init(self, data, fields, props, locale, runningAsScript=False):
SvgBasedViz.init(self, data, fields, props, width=600, height=350, genSvgScriptName="gensvg.js", runningAsScript=runningAsScript, locale=locale)