Anonymous | Login | 2024-12-21 23:53 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003391 | ClearOS | clearos-framework | public | 2015-07-08 15:09 | 2015-07-28 13:55 | ||||
Reporter | user2 | ||||||||
Assigned To | user2 | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | 7.1.0 Beta 3 | Fixed in Version | 7.1.0 Beta 3 | ||||||
Summary | 0003391: Clean up clearos_chart in preparation for non-report widgets | ||||||||
Description | The "clearos_chart()" javascript function in the theme was the product of the migration from ClearOS 6 to 7. It is currently only used by the Reports driver, but it should be usable by other apps too. Notably: - Two Kaspersky apps use standalone charts - Dashboard widgets The current function should be tweaked and documented to make it easier for app developers. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |||||||||||
|
Notes | |
(0001711) bchambers (administrator) 2015-07-09 06:13 |
Network visualiser also uses a chart. Currently, JS calling jquery object directly. Would be nice to standardize on Flot library syntax and if themer wants to change graphing engines, they would have to map variables/parameters to the new one, as necessary. Eg., I should be able to dump this obj into clearos graph function: series: { pie: { show: true, radius: 1, label: { show: true, radius: 3/4, formatter: labelFormatter, threshold: 0.1 }, } }, legend: { backgroundOpacity: 0 } And it should work in Flot, but not necessarily others. This way, we don't have to keep updating the theme if someone needs to add another parameter supported by Flot but not in the convenience/wrapper function. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-08 15:09 | user2 | New Issue | |
2015-07-08 15:09 | user2 | Issue generated from: 0003381 | |
2015-07-08 15:10 | user2 | Status | new => confirmed |
2015-07-08 21:11 | user2 | Relationship added | related to 0003371 |
2015-07-08 21:11 | user2 | Relationship added | related to 0003381 |
2015-07-09 06:14 | bchambers | Note Added: 0001711 | |
2015-07-12 11:26 | user2 | Target Version | 7.1.0 Beta 3 => 7.1.0 RC1 |
2015-07-28 13:55 | user2 | Target Version | 7.1.0 RC1 => 7.1.0 Beta 3 |
2015-07-28 13:55 | user2 | Status | confirmed => resolved |
2015-07-28 13:55 | user2 | Fixed in Version | => 7.1.0 Beta 3 |
2015-07-28 13:55 | user2 | Resolution | open => fixed |
2015-07-28 13:55 | user2 | Assigned To | => user2 |
2015-07-28 13:55 | user2 | Status | resolved => closed |