jpGraph增加Barplots之间的距离

时间:2019-05-30 12:05:48

标签: php jpgraph

我必须使用一个名为jpgraph的古代图书馆创建一个图形,并且无法增加条形图之间的距离:(请参见附件图片)

enter image description here

万一有人想知道,这里是文档:https://jpgraph.net/download/manuals/classref/index.html

这是我添加条形图的代码:

<target name="A" xsi:type="Mail" from="" to="" subject="" smtpServer="" smtpPort="0" skipCertificateValidation="true">
      <layout xsi:type="JsonLayout" includeAllProperties="true">
        <attribute name="text" layout="${message}" />
        <attribute name="level" layout="${level:upperCase=true}"/>
        <attribute name="fileName" layout="${var:fileName}"/>
        <attribute name="logGroupName" layout="${var:logGroupName}"/>
        <attribute name="logStreamName" layout="${var:logStreamName}"/>
        <attribute name="category" layout="${logger}" />
        <attribute name="exception" layout="${exception:format=@}" encode="false"/>
      </layout>
    </target>

<target name="B" xsi:type="Mail" from="" to="" subject="" smtpServer="" smtpPort="0" skipCertificateValidation="true">
  <layout xsi:type="JsonLayout" includeAllProperties="true">
    <attribute name="text" layout="${message}" />
    <attribute name="level" layout="${level:upperCase=true}"/>
    <attribute name="fileName" layout="${var:fileName}"/>
    <attribute name="logGroupName" layout="${var:logGroupName}"/>
    <attribute name="logStreamName" layout="${var:logStreamName}"/>
    <attribute name="category" layout="${logger}" />
    <attribute name="exception" layout="${exception:format=@}" encode="false"/>
  </layout>
</target>

0 个答案:

没有答案