Skip to main content

Using HighCharts within LogiInfo

Comments

1 comment

  • VISUI

    The include script element has a child element JSON Data which will accept any Logi Datalayer.  The JSON Data can be configured to be returned as the value of a variable.

    The JSON Style can be configured for Columns to Property Arrays, which will I think give you the necessary output data.


    <Report ID="LogiForum.IncludeScript">
      <Body>
        <IncludeScript IncludedScript="console.log(data);">
          <JsonData JsonVarName="data" ID="jsonData" JsonStyle="ColumnsToPropertyArrays" JsonOutput="Inline" JsonHumanReadable="True">
            <DataLayer Type="Static">
              <StaticDataRow Company="Acme" City="Washington D.C." Employee="Joe Schmoe" />
              <StaticDataRow Company="Acme" City="Washington D.C." Employee="Mary Sheltz" />
              <StaticDataRow Company="Acme" City="Boston" Employee="Dave Getz" />
              <StaticDataRow Company="Acme" City="Boston" Employee="Tim Smith" />
              <StaticDataRow Company="Amazon" City="Pittsburgh" Employee="Dan Blank" />
              <StaticDataRow Company="Amazon" City="Pittsburgh" Employee="Marty McFly" />
              <StaticDataRow Company="Amazon" City="Pittsburgh" Employee="Greta Green" />
              <StaticDataRow Company="Amazon" City="Boston" Employee="Joe Mama" />
              <DataLayerLink ID="dllinked" />
            </DataLayer>
          </JsonData>
        </IncludeScript>
      </Body>
    </Report>
    1

Please sign in to leave a comment.