Regarding ODF import and Export support for HistogramChart

Devansh Varshney varshney.devansh614 at gmail.com
Wed Jan 1 19:36:39 UTC 2025


I have reverted the errors, but the local build is still ongoing.

is this example -

<chart:chart svg:width="16.001cm" svg:height="8.986cm" xlink:href="..">
  <chart:title>
    <text:p>Histogram Chart</text:p>
  </chart:title>
  <chart:plot-area>
    <!-- Series with label from A1 -->
    <chart:series chart:label="Results">
      <!-- Data points from A2:A101 -->
      <chart:data-points>
        <chart:data-point chart:value="5.3"/>   <!-- A2 -->
        <chart:data-point chart:value="12.7"/>  <!-- A3 -->
        <chart:data-point chart:value="8.4"/>   <!-- A4 -->
        <chart:data-point chart:value="15.2"/>  <!-- A5 -->
        <chart:data-point chart:value="22.6"/>  <!-- A6 -->
        <chart:data-point chart:value="30.1"/>  <!-- A7 -->
        <chart:data-point chart:value="45.7"/>  <!-- A8 -->
        <chart:data-point chart:value="60.3"/>  <!-- A9 -->
        <chart:data-point chart:value="75.9"/>  <!-- A10 -->
        <chart:data-point chart:value="95.1"/>  <!-- A11 -->
        <!-- Add more data points up to A101 -->
      </chart:data-points>
      <!-- Histogram-specific configuration -->
      <loext:histogram loext:histogram-frequency-type="2"
loext:histogram-bin-count="10">
        <loext:histogram-overflow-bin>100</loext:histogram-overflow-bin>
        <loext:histogram-underflow-bin>0</loext:histogram-underflow-bin>

<loext:histogram-interval-closed>true</loext:histogram-interval-closed>
      </loext:histogram>
    </chart:series>
    <!-- Define the X-axis -->
    <chart:axis chart:dimension="x">
      <chart:title>
        <text:p>Values</text:p>
      </chart:title>
    </chart:axis>
    <!-- Define the Y-axis -->
    <chart:axis chart:dimension="y">
      <chart:title>
        <text:p>Frequency</text:p>
      </chart:title>
    </chart:axis>
  </chart:plot-area>
</chart:chart>


On Wed, 1 Jan 2025 at 19:41, Regina Henschel <rb.henschel at t-online.de>
wrote:

> Hi Devansh,
>
> I have looked at patch set 13 of
> https://gerrit.libreoffice.org/c/core/+/177364
>
> The file libreoffice-schema.rng has errors. I have already commented on
> Gerrit about the doubled attribute frequency-type. For to explain the
> other errors, I need an example of the intended markup, best using
> frequency-type 2. Please write it here to the list. Please start with
> the element <chart:series>. You can assume fictive data with label
> "Results" in cell A1 and values in A2:A101.
>
> Kind regards,
> Regina
>


-- 
*Regards,*
*Devansh*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250102/a22b24d5/attachment.htm>


More information about the LibreOffice mailing list