Skip to content

Commit a60a352

Browse files
feat(highcharts): implement line-basic (#448)
## Summary Implements `line-basic` for **highcharts** library. **Parent Issue:** #205 **Sub-Issue:** #438 **Base Branch:** `plot/line-basic` **Attempt:** 1/3 ## Implementation - `plots/highcharts/line/line-basic/default.py` ## Features - Basic line plot with data points connected by lines - Uses Python Blue color (#306998) from style guide - Proper axis labels (Time on X-axis, Value on Y-axis) - Title "Basic Line Plot" - Markers enabled on data points - Follows 4800x2700 px image dimensions requirement Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
1 parent ee01978 commit a60a352

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

plots/highcharts/line/line-basic/default.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@
4040
"title": {"text": "Time", "style": {"fontSize": "40px"}},
4141
"categories": time_values,
4242
"labels": {"style": {"fontSize": "32px"}},
43+
"lineWidth": 2,
44+
"tickWidth": 2,
4345
}
4446
chart.options.y_axis = {
4547
"title": {"text": "Value", "style": {"fontSize": "40px"}},
4648
"labels": {"style": {"fontSize": "32px"}},
49+
"gridLineWidth": 1,
4750
"gridLineColor": "#e0e0e0",
4851
}
4952

@@ -89,7 +92,7 @@
8992
chrome_options.add_argument("--no-sandbox")
9093
chrome_options.add_argument("--disable-dev-shm-usage")
9194
chrome_options.add_argument("--disable-gpu")
92-
chrome_options.add_argument("--window-size=4800,2700")
95+
chrome_options.add_argument("--window-size=4900,2800")
9396

9497
driver = webdriver.Chrome(options=chrome_options)
9598
driver.get(f"file://{temp_path}")

0 commit comments

Comments
 (0)