Files
tunmnlu/task_2/hw2_skeleton/Q3/DOM.md
louiscklaw 9035c1312b update,
2025-02-01 02:09:32 +08:00

106 lines
2.4 KiB
Markdown

```
<svg id="svg-a"> plot (Q3.a) [OK]
|
+-- <text id="title-a"> chart title [OK]
|
+-- <g id="plot-a"> containing Q3.a plot elements [OK]
|
+-- <g id="lines-a"> containing plot lines, line labels [OK]
|
+-- <g id="x-axis-a"> x-axis [OK]
| |
| +-- (x-axis elements)
| |
| +-- <text> x-axis label [OK]
|
+-- <g id="y-axis-a"> y-axis [OK]
|
+-- (y-axis elements)
|
+-- <text> y-axis label [OK]
<svg id=”svg-b”> plot (Q3.b)
|
+-- <text id=”title-b”> chart title
|
+-- <g id=”plot-b”> containing Q3.b plot elements
| |
| +-- <g id=”lines-b”> containing plot lines, line labels
| |
| +-- <g id=”x-axis-b”> for x-axis
| | |
| | +-- (x-axis elements)
| | |
| | +-- <text> x-axis label
| |
| +-- <g id=”y-axis-b”> for y-axis
| | |
| | +-- (y-axis elements)
| | |
| | +-- <text> for y-axis label
| |
| +-- <g id=”symbols-b”> containing plotted symbols, symbol labels
|
+-- <g id=”legend-b”> containing legend symbol and legend text element(s)
<svg id=”svg-c-1"> plot (Q3.c1): same as format for Q3.b, with c-1 in ids
(e.g., id="svg-c-1", etc.)
<svg id=”svg-c-1”> plot (Q3.b)
|
+-- <text id=”title-c-1”> chart title
|
+-- <g id=”plot-c-1”> containing Q3.b plot elements
| |
| +-- <g id=”lines-c-1”> containing plot lines, line labels
| |
| +-- <g id=”x-axis-c-1”> for x-axis
| | |
| | +-- (x-axis elements)
| | |
| | +-- <text> x-axis label
| |
| +-- <g id=”y-axis-c-1”> for y-axis
| | |
| | +-- (y-axis elements)
| | |
| | +-- <text> for y-axis label
| |
| +-- <g id=”symbols-c-1”> containing plotted symbols, symbol labels
|
+-- <g id=”legend-c-1”> containing legend symbol and legend text element(s)
<svg id=”svg-c-2"> plot (Q3.c2): same as format for Q3.b, with c-2 in ids
(e.g., id="svg-c-2", etc.)
<svg id=”svg-c-2”> plot (Q3.b)
|
+-- <text id=”title-c-2”> chart title
|
+-- <g id=”plot-c-2”> containing Q3.b plot elements
| |
| +-- <g id=”lines-c-2”> containing plot lines, line labels
| |
| +-- <g id=”x-axis-c-2”> for x-axis
| | |
| | +-- (x-axis elements)
| | |
| | +-- <text> x-axis label
| |
| +-- <g id=”y-axis-c-2”> for y-axis
| | |
| | +-- (y-axis elements)
| | |
| | +-- <text> for y-axis label
| |
| +-- <g id=”symbols-c-2”> containing plotted symbols, symbol labels
|
+-- <g id=”legend-c-2”> containing legend symbol and legend text element(s)
<div id="signature"> containing GT username
```