XFA
Well-known member
Hello Cédric,
I finally put up some investigations to find out the reason of the error.
The error only pops out if you state the bbcode to use default height or default width and do an edit of the post and save.
Eg. :
will pops the error I pointed when editing the post containing it.
While:
will not.
Moreover, I found a bug. The height is incorrectly taken into account.
On line 108 of your bbm_6_jquery.jqplot you have:
while it should be:
Clément
I finally put up some investigations to find out the reason of the error.
The error only pops out if you state the bbcode to use default height or default width and do an edit of the post and save.
Eg. :
HTML:
[bar=600x@|no-tick|pad:0|legend:no|zoom|point-labels]
{title=center}My data flow from Sep 1, 2016 to Sep 30, 2016{/title}
{xaxis=no-tick-mark}{/xaxis}
{yaxis=string:dollar|tick-zero|formatString: "%#.2f"|label-angle:-90}My data{/yaxis}
{data=no-renderer|animate:2000}
1115.00; 1005.00{/data}
{points}|{/points}
{zoom=loose}{/zoom}
{hl=tooltip:s|tooltip-axis:y|size-adjust:7.5}{/hl}
[/bar]
While:
HTML:
[bar=600x400|no-tick|pad:0|legend:no|zoom|point-labels]
{title=center}My data flow from Sep 1, 2016 to Sep 30, 2016{/title}
{xaxis=no-tick-mark}{/xaxis}
{yaxis=string:dollar|tick-zero|formatString: "%#.2f"|label-angle:-90}My data{/yaxis}
{data=no-renderer|animate:2000}
1115.00; 1005.00{/data}
{points}|{/points}
{zoom=loose}{/zoom}
{hl=tooltip:s|tooltip-axis:y|size-adjust:7.5}{/hl}
[/bar]
Moreover, I found a bug. The height is incorrectly taken into account.
On line 108 of your bbm_6_jquery.jqplot you have:
HTML:
array_push($inlineCss, "height:{$width}px");
while it should be:
HTML:
array_push($inlineCss, "height:{$height}px");
Clément