cross
Foswiki General Assembly will be held on 28th November 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly

Item6003: Loss of data when including chart from another topic

pencil
Priority: Normal
Current State: Needs Developer
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: ChartPlugin
Branches:
Reported By: TWiki:Main.CrawfordCurrie
Waiting For:
Last Change By: GeorgeClark
Including a chart from another topic results in a curious (SpreadSheetPlugin-related?) effect, where a column of data is lost. Testcase:

Two topics, TopicOne and TopicTwo. TopicOne contains the following:
|   | A | B | Total |
| 1 | 7 | 9 | %CALC{$SUM(R$ROW():C1..R$ROW():C3)}% |
| 2 | 6 | 6 | %CALC{$SUM(R$ROW():C1..R$ROW():C3)}% |
| 3 | 4 | 2 | %CALC{$SUM(R$ROW():C1..R$ROW():C3)}% |
%CHART{ type="line" name="line3" data="R2:C2..R4:C7" legend="R1:C2..R1:C7" xaxis="R2:C1..R4:C1" yaxis="on" datalabel="on" }%
The data table and chart display as expected, with three lines on the chart.

TopicTwo contains the following:
%INCLUDE{"TopicOne"}%
The data table is displayed identically, and the chart is displayed correctly except the totals line is completely wrong.

-- TWiki:Main.CrawfordCurrie - 17 Sep 2008

I suspect that this might be fixed. IIRC there was an off-by-one issue in the Rn:Cn format found a long time ago in the SSP.

Setting to NeedsDeveloper.

-- Main.GeorgeClark - 25 Sep 2016 - 19:32

 

ItemTemplate edit

Summary Loss of data when including chart from another topic
ReportedBy TWiki:Main.CrawfordCurrie
Codebase
SVN Range TWiki-5.0.0, Fri, 12 Sep 2008, build 17509
AppliesTo Extension
Component ChartPlugin
Priority Normal
CurrentState Needs Developer
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r2 - 25 Sep 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy