Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
marcus-lodspeakr
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uib-ub
Spesialsamlingene
marcus-lodspeakr
Commits
296c112b
Commit
296c112b
authored
12 years ago
by
alvaro
Browse files
Options
Downloads
Patches
Plain Diff
added prefixes in line chart to svg
parent
e6412a26
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/Haanga/lib/Haanga/Extension/Filter/D3linechart.php
+7
-1
7 additions, 1 deletion
lib/Haanga/lib/Haanga/Extension/Filter/D3linechart.php
with
7 additions
and
1 deletion
lib/Haanga/lib/Haanga/Extension/Filter/D3linechart.php
+
7
−
1
View file @
296c112b
...
@@ -124,7 +124,13 @@ class Haanga_Extension_Filter_D3LineChart{
...
@@ -124,7 +124,13 @@ class Haanga_Extension_Filter_D3LineChart{
}
}
var maxValue_
$divId
= getMax(dataset_"
.
$divId
.
");
var maxValue_
$divId
= getMax(dataset_"
.
$divId
.
");
var svg = d3.selectAll('#"
.
$divId
.
"').append('svg').attr('width', options_
$divId
.width).attr('height', options_
$divId
.height);
var svg = d3.selectAll('#"
.
$divId
.
"')
.append('svg')
.attr('width', options_
$divId
.width)
.attr('height', options_
$divId
.height)
.attr('xmlns:xmlns:vsr','http://purl.org/twc/vocab/vsr#')
.attr('xmlns:xmlns:rdf','http://www.w3.org/2000/01/rdf-schema#');
;
var maxHeight_
$divId
= options_
$divId
.chartProportion*options_
$divId
.height;
var maxHeight_
$divId
= options_
$divId
.chartProportion*options_
$divId
.height;
var labels_
$divId
= getLabels(dataset_
$divId
);
var labels_
$divId
= getLabels(dataset_
$divId
);
options_
$divId
.numberOfBars = getNumberOfBars(dataset_
$divId
);
options_
$divId
.numberOfBars = getNumberOfBars(dataset_
$divId
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment