Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-trans-project-feedback
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-trans-project-feedback
Commits
53ce2cf4
Commit
53ce2cf4
authored
Oct 16, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- fixed typo
parent
d6338c38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
graph-panel.adp
lib/graph-panel.adp
+5
-5
No files found.
lib/graph-panel.adp
View file @
53ce2cf4
...
...
@@ -11,7 +11,7 @@ Ext.onReady(function () {
// STORES
//
var translationProjectFeedbackNonCo
m
formityStore = Ext.create('Ext.data.Store', {
var translationProjectFeedbackNonCo
n
formityStore = Ext.create('Ext.data.Store', {
fields: [
{ name: 'first_day_period', type: 'string'},
{ name: 'number_projects', type: 'int'},
...
...
@@ -34,7 +34,7 @@ Ext.onReady(function () {
}
});
var translationProjectFeedbackNonCo
m
formityProportionStore = Ext.create('Ext.data.Store', {
var translationProjectFeedbackNonCo
n
formityProportionStore = Ext.create('Ext.data.Store', {
fields: [
{ name: 'choice', type: 'string' },
{ name: 'count', type: 'int'}
...
...
@@ -139,11 +139,11 @@ Ext.onReady(function () {
contrast: true,
font: '11px "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',
renderer: function(val, label, storeItem, item, i, display, animate, index) {
var sumNonCo
mformityProjects = translationProjectFeedbackNonCom
formityProportionStore.sum('count');
// console.log('sumNonCo
mformityProjects:' + sumNonCom
formityProjects);
var sumNonCo
nformityProjects = translationProjectFeedbackNonCon
formityProportionStore.sum('count');
// console.log('sumNonCo
nformityProjects:' + sumNonCon
formityProjects);
// console.log('val:' + val);
// console.log('count:' + storeItem.get('count'));
var ret = (parseFloat(storeItem.get('count') / sumNonCo
m
formityProjects) * 100.0).toFixed(2) + '%';
var ret = (parseFloat(storeItem.get('count') / sumNonCo
n
formityProjects) * 100.0).toFixed(2) + '%';
return ret + ' ' + val.substring(0,20);
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment