Commit ed73b4e6 authored by delanoe's avatar delanoe

[FEAT] Trying do add specificities to advanced chart

parent 88cd10ce
...@@ -390,7 +390,7 @@ gargantext.controller("GraphController", function($scope, $http, $element) { ...@@ -390,7 +390,7 @@ gargantext.controller("GraphController", function($scope, $http, $element) {
options: { options: {
axes: { axes: {
x: {key: 'x', type: 'date'}, x: {key: 'x', type: 'date'},
y: {key: 'y', type: 'linear', type: 'numeric'}, y: {key: 'y', type: 'linear', type: 'numeric', type: 'specificities'},
}, },
tension: 1.0, tension: 1.0,
lineMode: 'linear', lineMode: 'linear',
...@@ -398,7 +398,7 @@ gargantext.controller("GraphController", function($scope, $http, $element) { ...@@ -398,7 +398,7 @@ gargantext.controller("GraphController", function($scope, $http, $element) {
var grouping = groupings.datetime[$scope.groupingKey]; var grouping = groupings.datetime[$scope.groupingKey];
return grouping.representation(x) + ' → ' + y; return grouping.representation(x) + ' → ' + y;
}}, }},
drawLegend: false, drawLegend: true,
drawDots: true, drawDots: true,
columnsHGap: 5 columnsHGap: 5
} }
......
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
<br/> <br/>
Y-axis: use a Y-axis: use a
<select ng-model="graph.options.axes.y.type" ng-options="type for type in ['linear', 'log']"></select> <select ng-model="graph.options.axes.y.type" ng-options="type for type in ['linear', 'log', 'specificities']"></select>
scale scale
<br/> <br/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment