|
|
@ -73,7 +73,7 @@ Bargraph.draw = function (groupIds, processedGroupData, framework) { |
|
|
|
intersections[key].resolved += 1; |
|
|
|
|
|
|
|
if (group.options.stack === true) { |
|
|
|
if (combinedData[i].y < group.zeroPosition) { |
|
|
|
if (combinedData[i].screen_y < group.zeroPosition) { |
|
|
|
heightOffset = intersections[key].accumulatedNegative; |
|
|
|
intersections[key].accumulatedNegative += group.zeroPosition - combinedData[i].screen_y; |
|
|
|
} |
|
|
@ -96,7 +96,7 @@ Bargraph.draw = function (groupIds, processedGroupData, framework) { |
|
|
|
screen_x:combinedData[i].screen_x, |
|
|
|
screen_y:combinedData[i].screen_y - heightOffset, |
|
|
|
groupId: combinedData[i].groupId, |
|
|
|
label: combinedData[i].label, |
|
|
|
label: combinedData[i].label |
|
|
|
}; |
|
|
|
Points.draw([pointData], group, framework, drawData.offset); |
|
|
|
//DOMutil.drawPoint(combinedData[i].x + drawData.offset, combinedData[i].y, group, framework.svgElements, framework.svg);
|
|
|
|