forked from highcharts/highcharts
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request highcharts#22078 from highcharts/bugfix/packedbubb…
…le-drag-bugs Bugfix/packedbubble-various-drag-bugs
- Loading branch information
Showing
13 changed files
with
202 additions
and
34 deletions.
There are no files selected for viewing
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
samples/highcharts/demo/packed-bubble-project-status/demo.details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Packed bubble project status | ||
authors: | ||
- Grzegorz Blachliński | ||
js_wrap: b | ||
tags: | ||
- Highcharts demo | ||
- Animation | ||
categories: | ||
- Scatter and bubble charts | ||
... |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
118 changes: 118 additions & 0 deletions
118
samples/highcharts/demo/packed-bubble-project-status/demo.js~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
Highcharts.chart('container', { | ||
chart: { | ||
type: 'packedbubble', | ||
height: '100%' | ||
}, | ||
title: { | ||
text: 'Team Dashboard' | ||
}, | ||
subtitle: { | ||
text: 'Currently planned work for team' | ||
}, | ||
tooltip: { | ||
useHTML: true, | ||
pointFormat: '<b>{point.name}:</b> {point.value}' | ||
}, | ||
plotOptions: { | ||
packedbubble: { | ||
minSize: '15%', | ||
maxSize: '50%', | ||
layoutAlgorithm: { | ||
maxSpeed: 2, | ||
initialPositionRadius: 1, | ||
splitSeries: true, | ||
parentNodeLimit: true, | ||
dragBetweenSeries: true, | ||
friction: -0.9, | ||
parentNodeOptions: { | ||
maxSpeed: 1, | ||
bubblePadding: 20, | ||
initialPositionRadius: 120 | ||
} | ||
}, | ||
dataLabels: { | ||
enabled: true, | ||
format: '{point.shortName}', | ||
parentNodeFormat: '{point.series.name}', | ||
style: { | ||
fontSize: '0.9em' | ||
} | ||
} | ||
} | ||
}, | ||
series: [{ | ||
name: 'Backlog', | ||
color: 'rgba(0, 40, 130, 0.8)', | ||
data: [{ | ||
name: 'Test web page performance', | ||
shortName: 'Test page', | ||
value: 5 | ||
}, { | ||
name: 'Bike trip', | ||
shortName: 'trip', | ||
value: 1 | ||
}, | ||
{ | ||
name: 'Code-review meeting', | ||
shortName: 'CR', | ||
value: 4 | ||
}, | ||
{ | ||
name: 'Allow user to change nickname', | ||
shortName: 'Nickname', | ||
value: 2 | ||
}] | ||
}, { | ||
name: 'To Do', | ||
color: 'rgba(200, 100, 100, 0.8)', | ||
data: [{ | ||
name: 'Create newsletter template', | ||
shortName: 'Newsletter', | ||
value: 2 | ||
}, { | ||
name: 'Produce financial raport for Q2', | ||
shortName: 'Report', | ||
value: 10 | ||
}, { | ||
name: 'Meeting with sales team', | ||
shortName: 'Meeting', | ||
value: 10 | ||
}] | ||
}, { | ||
name: 'In Progress', | ||
color: 'rgba(0,100,100, 0.8)', | ||
data: [{ | ||
name: 'Develop an android App', | ||
shortName: 'Development', | ||
value: 9 | ||
}, { | ||
name: 'Document the API', | ||
shortName: 'API', | ||
value: 7 | ||
}] | ||
}, { | ||
name: 'To Verify', | ||
color: 'rgba(200, 100, 200, 0.8)', | ||
data: [{ | ||
name: 'Develop an IOS App', | ||
shortName: 'Development', | ||
value: 9 | ||
}, { | ||
name: 'Change default login page', | ||
shortName: 'webpage', | ||
value: 5 | ||
}] | ||
}, { | ||
name: 'Done', | ||
color: 'rgba(70,220,50,0.8)', | ||
data: [{ | ||
name: 'Strategy meeting with Management', | ||
shortName: 'Meeting', | ||
value: 5 | ||
}, { | ||
name: 'Kanban Packed Bubble migration', | ||
shortName: 'Migration', | ||
value: 3 | ||
}] | ||
}] | ||
}); |
File renamed without changes.
6 changes: 0 additions & 6 deletions
6
samples/highcharts/series-packedbubble/packed-dashboard/demo.details
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters