Project

General

Profile

Actions

Bug #5101

closed

chart rendering is failing

Added by Lequeux Olivier about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Urgent
Assigned To:
Category:
Console
Target version:
Start date:
09/19/2013
Due date:
% Done:

100%

Estimated time:

Description

calling rowcol?accept=chart is providing a blank page with concatenated <fields>

   <view name="rowcol">
        <info>
            <category>Other</category>
        </info>
        <connector type="XMLConnector">
            <parameter name="content">
                <![CDATA[
                    <root date="January 2013">
                    <language index="C__" rate="6.1%">C++</language>
                    <language rate="17.8%">C</language>
                    <language rate="9.1%">Objective-C</language>
                    <language index="C_" rate="5.5%">C#</language>
                    <language rate="17.4%">Java</language>
                    </root>
                ]]>
            </parameter>
        </connector>
        <pre-renderers>
            <title>concat("TIOBE Programming Language - TOP ", count(/root/language))</title>
            <field label="source" link="http://www.tiobe.com">"http://www.tiobe.com"</field>
            <field>/root/@date</field>
            <row foreach="root/language">
                <column label="Position">position()</column>
                <column label="Programming Language" 
                        link="http://www.tiobe.com/index.php/paperinfo/tpci/{text() or @index}.html">
                    text()
                </column>
                <column label="Ratings" order="descending" unit="Rate (%)">substring-before(@rate, "%")</column>
             </row>
        </pre></pre-renderers>
</view>
Actions

Also available in: Atom PDF