Skip to content
Snippets Groups Projects
Commit e8097d3d authored by Maz Ameli's avatar Maz Ameli Committed by Kyle Doherty
Browse files

Change max_series to 100 (#11305)


* change max_series to 100

* increase cardinality in test to be above new 100 limit

Co-authored-by: default avatarPaul Rosenzweig <paulrosenzweig@users.noreply.github.com>
parent b58b027e
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ import crossfilter from "crossfilter";
import { isDimension, isMetric, isDate } from "metabase/lib/schema_metadata";
export const MAX_SERIES = 20;
export const MAX_SERIES = 100;
const SPLIT_AXIS_UNSPLIT_COST = -100;
const SPLIT_AXIS_COST_FACTOR = 2;
......
......@@ -251,7 +251,7 @@ describe("metabase/visualization/lib/utils", () => {
getDefaultDimensionsAndMetrics([
{
data: {
rows: _.range(0, 100).map(v => [0, v, v]),
rows: _.range(0, 101).map(v => [0, v, v]),
cols: [
{
name: "count",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment