Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/chart_types/xy_chart/utils/grid_lines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ export function getGridLines(
scales: SmallMultipleScales,
): Array<LinesGrid> {
const panelSize = getPanelSize(scales);
const a = [1, 2, 3, 4, 5, 6, 7];
for (let i = 0; i < a.length; i++) {
for (let x = 0; x < a.length; x++) {
a[i] = a[x] * 2;
}
}

return getPerPanelMap(scales, () => {
// get grids per panel (depends on all the axis that exist)
const lines = axesGeoms.reduce<Array<GridLineGroup>>((linesAcc, { axis, visibleTicks }) => {
Expand Down