You are here

private property FrxSVGGraphTest::$doc in Forena Reports 8

File

tests/src/Unit/Renderer/FrxSVGGraphTest.php, line 22

Class

FrxSVGGraphTest
Graph test. @group Forena @require module forena @coversDefaultClass \Drupal\forena\FrxPlugin\Renderer\FrxSVGGraph

Namespace

Drupal\Tests\forena\Unit\Renderer

Code

private $doc = '<?xml version="1.0"?>
      <!DOCTYPE root [
      <!ENTITY nbsp "&#160;">
      ]>
      <html xmlns:frx="urn:FrxReports">
      <head>
      <title>Report Title</title>
      <frx:category>Category</frx:category>
      <frx:fields>
      </frx:fields>
      </head>
      <body>
        <svg frx:renderer="FrxSVGGraph" frx:type="PieGraph"
           frx:series="{users}" frx:label="{state} - {gender}">
        </svg>
      </body>
      </html>';