-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add area-basic implementation (9 libraries) #527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,40 +15,32 @@ | |||||
| from selenium.webdriver.chrome.options import Options | ||||||
|
|
||||||
|
|
||||||
| # Data - Monthly sales example | ||||||
| sales = [100, 150, 130, 180, 200, 220, 195, 240, 280, 310, 290, 350] | ||||||
| # Data | ||||||
| months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] | ||||||
| sales = [120, 135, 148, 162, 175, 195, 210, 198, 185, 170, 158, 190] | ||||||
|
|
||||||
| # Create chart | ||||||
| # Create chart with container (required for headless export) | ||||||
| chart = Chart(container="container") | ||||||
| chart.options = HighchartsOptions() | ||||||
|
|
||||||
| # Chart configuration | ||||||
| chart.options.chart = { | ||||||
| "type": "area", | ||||||
| "width": 4800, | ||||||
| "height": 2700, | ||||||
| "backgroundColor": "#ffffff", | ||||||
| "style": {"fontFamily": "Arial, sans-serif"}, | ||||||
| } | ||||||
| chart.options.chart = {"type": "area", "width": 4800, "height": 2700, "backgroundColor": "#ffffff"} | ||||||
|
|
||||||
| # Title | ||||||
| chart.options.title = {"text": "Monthly Sales Trend", "style": {"fontSize": "48px"}} | ||||||
| chart.options.title = {"text": "Monthly Sales", "style": {"fontSize": "48px"}} | ||||||
|
||||||
| chart.options.title = {"text": "Monthly Sales", "style": {"fontSize": "48px"}} | |
| chart.options.title = {"text": "Basic Area Chart", "style": {"fontSize": "48px"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The title is being changed from "Basic Area Chart" to "Monthly Sales", which creates inconsistency with other implementations. The matplotlib implementation in this same PR is being updated to use "Basic Area Chart", and several other libraries (letsplot, seaborn) also use "Basic Area Chart". Consider keeping "Basic Area Chart" for consistency across all library implementations.