Skip to main content
Post Reopened by Pierre.Vriens, Beebee, mradcliffe, googletorp
added 82 characters in body
Source Link
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

I am trying to create a bar graph using Forena's SVG Graph facilities. But it shows output like this:

enter image description here

As shown in the above image, it is not rendering the SVG Graph properlyit is not rendering the SVG Graph properly.

I am using this SQL statement (inmy "data block" related to the back end) when tryingSVG Graph I try to create the graph):

SELECT Type,count(*) as Number
FROM node
GROUP by type

Following is a screenprint of the related FRX file:

enter image description here

And here is a textual version of that FRX file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY nbsp "&#160;">
]>
<html xmlns:frx="urn:FrxReports">
<head>
<title>Graph Demo</title>
<frx:category>Sample Graph</frx:category>
<frx:options/>
<frx:parameters>
</frx:parameters>
<frx:docgen>
</frx:docgen>
<frx:fields>
</frx:fields>
<frx:menu/>
<frx:cache/>
<style/>
</head>
<body>
<div id="nodeGraph" class="FrxSVGGraph" frx:block="reports/nodeGraph">
  <svg frx:group="{Type}" frx:key="{Type}" frx:series_1="{Number}" frx:renderer="FrxSVGGraph" frx:type="BarGraph"/>
    <table>
      <thead>
        <tr>
          <th>Type</th>
          <th>Number</th></tr></thead>
      <tbody>
        <tr frx:foreach="*">
          <td>{Type}</td>
          <td>{Number}</td></tr></tbody></table></div></body>
</html>

My question: How to make Forena render my SVG Graph properly?

I am trying to create a bar graph using Forena's SVG Graph facilities. But it shows output like this:

enter image description here

As shown in the above image, it is not rendering the SVG Graph properly.

I am using this SQL statement (in the back end) when trying to create the graph:

SELECT Type,count(*) as Number
FROM node
GROUP by type

Following is a screenprint of the related FRX file:

enter image description here

And here is a textual version of that FRX file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY nbsp "&#160;">
]>
<html xmlns:frx="urn:FrxReports">
<head>
<title>Graph Demo</title>
<frx:category>Sample Graph</frx:category>
<frx:options/>
<frx:parameters>
</frx:parameters>
<frx:docgen>
</frx:docgen>
<frx:fields>
</frx:fields>
<frx:menu/>
<frx:cache/>
<style/>
</head>
<body>
<div id="nodeGraph" class="FrxSVGGraph" frx:block="reports/nodeGraph">
  <svg frx:group="{Type}" frx:key="{Type}" frx:series_1="{Number}" frx:renderer="FrxSVGGraph" frx:type="BarGraph"/>
    <table>
      <thead>
        <tr>
          <th>Type</th>
          <th>Number</th></tr></thead>
      <tbody>
        <tr frx:foreach="*">
          <td>{Type}</td>
          <td>{Number}</td></tr></tbody></table></div></body>
</html>

I am trying to create a bar graph using Forena's SVG Graph facilities. But it shows output like this:

enter image description here

As shown in the above image, it is not rendering the SVG Graph properly.

I am using this SQL statement (my "data block" related to the SVG Graph I try to create):

SELECT Type,count(*) as Number
FROM node
GROUP by type

Following is a screenprint of the related FRX file:

enter image description here

And here is a textual version of that FRX file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY nbsp "&#160;">
]>
<html xmlns:frx="urn:FrxReports">
<head>
<title>Graph Demo</title>
<frx:category>Sample Graph</frx:category>
<frx:options/>
<frx:parameters>
</frx:parameters>
<frx:docgen>
</frx:docgen>
<frx:fields>
</frx:fields>
<frx:menu/>
<frx:cache/>
<style/>
</head>
<body>
<div id="nodeGraph" class="FrxSVGGraph" frx:block="reports/nodeGraph">
  <svg frx:group="{Type}" frx:key="{Type}" frx:series_1="{Number}" frx:renderer="FrxSVGGraph" frx:type="BarGraph"/>
    <table>
      <thead>
        <tr>
          <th>Type</th>
          <th>Number</th></tr></thead>
      <tbody>
        <tr frx:foreach="*">
          <td>{Type}</td>
          <td>{Number}</td></tr></tbody></table></div></body>
</html>

My question: How to make Forena render my SVG Graph properly?

Post Closed as "Not suitable for this site" by Clive
Improve formatting and grammar
Source Link
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

Problem Crating How to make Forena render my SVG Graph Reports in forenaproperly?

I am creatingtrying to create a bar graph using Forena's SVG Graph facilities.but But it shows output like this.:   

enter image description here

ItAs shown in the above image, it is not rendering graphthe SVG Graph properly. I

I am using this SQL statement in(in the back end for) when trying to create the graph: SELECT Type,count(*) as Number from node GROUP by type

SELECT Type,count(*) as Number
FROM node
GROUP by type

Following is a screenprint of the frxrelated FRX file:

enter image description here

  

]>And here is a textual version of that FRX file:

Graph Demo Sample Graph Type Number {Type} {Number}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY nbsp "&#160;">
]>
<html xmlns:frx="urn:FrxReports">
<head>
<title>Graph Demo</title>
<frx:category>Sample Graph</frx:category>
<frx:options/>
<frx:parameters>
</frx:parameters>
<frx:docgen>
</frx:docgen>
<frx:fields>
</frx:fields>
<frx:menu/>
<frx:cache/>
<style/>
</head>
<body>
<div id="nodeGraph" class="FrxSVGGraph" frx:block="reports/nodeGraph">
  <svg frx:group="{Type}" frx:key="{Type}" frx:series_1="{Number}" frx:renderer="FrxSVGGraph" frx:type="BarGraph"/>
    <table>
      <thead>
        <tr>
          <th>Type</th>
          <th>Number</th></tr></thead>
      <tbody>
        <tr frx:foreach="*">
          <td>{Type}</td>
          <td>{Number}</td></tr></tbody></table></div></body>
</html>

Problem Crating SVG Graph Reports in forena

I am creating bar graph.but it shows output like this.:  enter image description here

It is not rendering graph properly. I am using this SQL statement in back end for graph: SELECT Type,count(*) as Number from node GROUP by type

Following is the frx file:

enter image description here

 

]>

Graph Demo Sample Graph Type Number {Type} {Number}

How to make Forena render my SVG Graph properly?

I am trying to create a bar graph using Forena's SVG Graph facilities. But it shows output like this: 

enter image description here

As shown in the above image, it is not rendering the SVG Graph properly.

I am using this SQL statement (in the back end) when trying to create the graph:

SELECT Type,count(*) as Number
FROM node
GROUP by type

Following is a screenprint of the related FRX file:

enter image description here

 

And here is a textual version of that FRX file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY nbsp "&#160;">
]>
<html xmlns:frx="urn:FrxReports">
<head>
<title>Graph Demo</title>
<frx:category>Sample Graph</frx:category>
<frx:options/>
<frx:parameters>
</frx:parameters>
<frx:docgen>
</frx:docgen>
<frx:fields>
</frx:fields>
<frx:menu/>
<frx:cache/>
<style/>
</head>
<body>
<div id="nodeGraph" class="FrxSVGGraph" frx:block="reports/nodeGraph">
  <svg frx:group="{Type}" frx:key="{Type}" frx:series_1="{Number}" frx:renderer="FrxSVGGraph" frx:type="BarGraph"/>
    <table>
      <thead>
        <tr>
          <th>Type</th>
          <th>Number</th></tr></thead>
      <tbody>
        <tr frx:foreach="*">
          <td>{Type}</td>
          <td>{Number}</td></tr></tbody></table></div></body>
</html>
added 815 characters in body
Source Link

I am creating bar graph.but it shows output like this.: enter image description here

It is not rendering graph properly. I am using this SQL statement in back end for graph: SELECT Type,count(*) as Number from node GROUP by type

Following is the frx file:

enter image description here

]>

Graph Demo Sample Graph Type Number {Type} {Number}

I am creating bar graph.but it shows output like this.: enter image description here

It is not rendering graph properly. I am using this SQL statement in back end for graph: SELECT Type,count(*) as Number from node GROUP by type

Following is the frx file:

enter image description here

I am creating bar graph.but it shows output like this.: enter image description here

It is not rendering graph properly. I am using this SQL statement in back end for graph: SELECT Type,count(*) as Number from node GROUP by type

Following is the frx file:

enter image description here

]>

Graph Demo Sample Graph Type Number {Type} {Number}
added 847 characters in body
Source Link
Loading
Source Link
Loading