Adding the graphing plugins to the config file
This commit is contained in:
parent
0f6d8e57de
commit
dfef678b06
2 changed files with 16 additions and 1 deletions
|
|
@ -1142,6 +1142,14 @@ GRAPH4
|
|||
# Update Poll table.
|
||||
$session->db->write('alter table Poll add column graphConfiguration text');
|
||||
$session->db->write('alter table Poll add column generateGraph tinyint(1)');
|
||||
|
||||
# Add plugins to the config file
|
||||
$session->config->set('graphingPlugins', [
|
||||
"WebGUI::Image::Graph::XYGraph::Bar",
|
||||
"WebGUI::Image::Graph::XYGraph::Line",
|
||||
"WebGUI::Image::Graph::Pie",
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
# ---- DO NOT EDIT BELOW THIS LINE ----
|
||||
|
|
|
|||
|
|
@ -322,7 +322,14 @@
|
|||
"WebGUI::Workflow::Activity::TrashVersionTag", "WebGUI::Workflow::Activity::CreateCronJob",
|
||||
"WebGUI::Workflow::Activity::UnlockVersionTag", "WebGUI::Workflow::Activity::NotifyAboutVersionTag",
|
||||
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag", "WebGUI::Workflow::Activity::ExportVersionTagAsHtml"]
|
||||
}
|
||||
},
|
||||
|
||||
# Enter the graphing plugins that you want to enable for your site.
|
||||
|
||||
"graphingPlugins" : [
|
||||
"WebGUI::Image::Graph::Pie",
|
||||
"WebGUI::Image::Graph::XYGraph::Bar",
|
||||
"WebGUI::Image::Graph::XYGraph::Line"
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue