Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.3
-
None
-
Unit
-
Unknown
-
Description
The chart macro generates a span element both in inline and stand-alone mode. I think that it should generate a block element of some sort (e.g., a p-element) in stand alone mode.
The below example illustrates the problem. Web browsers will render the two charts side-by-side.
{{chart type="bar" params="range:B2-D5;series:columns;" title="Chart Test bar" width="320" height="240" source="inline"}}
| |X |Y |Z
|Q1|1.2|3.4|1.3
|Q2|4.5|3.4|2.3
|Q3|1.2|4.5|9.0
|Q4|3.4|1.2|1.2
{{/chart}}
{{chart type="pie" params="range:B2-D5;series:columns;" title="Chart Test pie" width="320" height="240" source="inline"}}
| |X |Y |Z
|Q1|1.2|3.4|1.3
|Q2|4.5|3.4|2.3
|Q3|1.2|4.5|9.0
|Q4|3.4|1.2|1.2
{{/chart}}