stable

Clone or download

Read-only

Have a static way to know a graph is drawn in D3

Part of request #12564 Load Graphs on trackers v5 data asynchronously This first refactoring lets us know if a graph will be drawn with D3 without having to get all the Artifacts and compute all the data. How to test: - No functional change expected on any graph Will be done later: - Leverage this to get charts' data asynchronously Change-Id: I3f80af1a5418a5a7c19c7fb7e8a0bd0af5514012

Modified Files

Name
A plugins/graphontrackersv5/include/Chart/D3CompatibleChartVisitor.php +54 −0 Go to diff View file
A plugins/graphontrackersv5/include/Chart/Visitable.php +26 −0 Go to diff View file
A plugins/graphontrackersv5/include/Chart/Visitor.php +36 −0 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart.class.php +8 −17 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_ChartFactory.class.php +10 −3 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart_Bar.class.php +19 −7 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart_Burndown.class.php +14 −10 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart_CumulativeFlow.class.php +9 −5 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart_Gantt.class.php +13 −8 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart_Pie.class.php +14 −9 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_ReportFactory.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_RendererFactory.class.php +1 −1 Go to diff View file