Skip to content

Commit

Permalink
Rotate x-Axis labels by 45 degree counter-wise to avoid common overla…
Browse files Browse the repository at this point in the history
…pping issue (#2211)

* updated release notes (#1997)

Signed-off-by: sumukhswamy <[email protected]>

* xaxis label default to rotate 45 angle

Signed-off-by: Eric <[email protected]>

* update snapshots

Signed-off-by: Eric <[email protected]>

* fix: Update getting started cards content and visual design (#2209)

Signed-off-by: Viraj Sanghvi <[email protected]>

* updated release notes (#1997)

Signed-off-by: sumukhswamy <[email protected]>

* updated release notes (#1997)

Signed-off-by: sumukhswamy <[email protected]>

* update other snapshots

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Viraj Sanghvi <[email protected]>
Co-authored-by: Sumukh Swamy <[email protected]>
Co-authored-by: Viraj Sanghvi <[email protected]>
  • Loading branch information
3 people authored Oct 18, 2024
1 parent c67ca19 commit d5853bc
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 109 deletions.
2 changes: 1 addition & 1 deletion common/constants/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export const DEFAULT_CHART_STYLES: DefaultChartStylesProps = {
MarkerSize: 25,
ShowLegend: 'show',
LegendPosition: 'v',
LabelAngle: 0,
LabelAngle: -45,
DefaultSortSectors: 'largest_to_smallest',
DefaultModeScatter: 'markers',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateBarLabels",
"name": "Rotate bar labels",
Expand Down Expand Up @@ -419,7 +419,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"icontype": "visBarVerticalStacked",
"id": "bar",
"label": "Vertical bar",
"labelangle": 0,
"labelangle": -45,
"legendposition": "v",
"linewidth": 0,
"mode": "group",
Expand Down Expand Up @@ -775,7 +775,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateBarLabels",
"name": "Rotate bar labels",
Expand Down Expand Up @@ -874,7 +874,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"icontype": "visBarVerticalStacked",
"id": "bar",
"label": "Vertical bar",
"labelangle": 0,
"labelangle": -45,
"legendposition": "v",
"linewidth": 0,
"mode": "group",
Expand Down Expand Up @@ -1253,7 +1253,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateBarLabels",
"name": "Rotate bar labels",
Expand Down Expand Up @@ -1352,7 +1352,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"icontype": "visBarVerticalStacked",
"id": "bar",
"label": "Vertical bar",
"labelangle": 0,
"labelangle": -45,
"legendposition": "v",
"linewidth": 0,
"mode": "group",
Expand Down Expand Up @@ -1467,7 +1467,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"title": "",
"xaxis": Object {
"automargin": true,
"tickangle": 0,
"tickangle": -45,
"tickfont": Object {
"size": 12,
},
Expand Down Expand Up @@ -1570,7 +1570,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = `
"title": "",
"xaxis": Object {
"automargin": true,
"tickangle": 0,
"tickangle": -45,
"tickfont": Object {
"size": 12,
},
Expand Down Expand Up @@ -2008,7 +2008,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateLabels",
"name": "Rotate labels",
Expand Down Expand Up @@ -2524,7 +2524,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateLabels",
"name": "Rotate labels",
Expand Down Expand Up @@ -3094,7 +3094,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateLabels",
"name": "Rotate labels",
Expand Down Expand Up @@ -3304,7 +3304,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"title": "",
"xaxis": Object {
"automargin": true,
"tickangle": 0,
"tickangle": -45,
"tickfont": Object {},
},
"yaxis": Object {
Expand Down Expand Up @@ -3419,7 +3419,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = `
"title": "",
"xaxis": Object {
"automargin": true,
"tickangle": 0,
"tickangle": -45,
"tickfont": Object {},
},
"yaxis": Object {
Expand Down Expand Up @@ -3773,7 +3773,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateBarLabels",
"name": "Rotate bar labels",
Expand Down Expand Up @@ -3872,7 +3872,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"icontype": "visBarHorizontalStacked",
"id": "horizontal_bar",
"label": "Horizontal bar",
"labelangle": 0,
"labelangle": -45,
"legendposition": "v",
"linewidth": 0,
"mode": "group",
Expand Down Expand Up @@ -4228,7 +4228,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateBarLabels",
"name": "Rotate bar labels",
Expand Down Expand Up @@ -4327,7 +4327,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"icontype": "visBarHorizontalStacked",
"id": "horizontal_bar",
"label": "Horizontal bar",
"labelangle": 0,
"labelangle": -45,
"legendposition": "v",
"linewidth": 0,
"mode": "group",
Expand Down Expand Up @@ -4706,7 +4706,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
Object {
"component": [Function],
"defaultState": 0,
"defaultState": -45,
"eleType": "slider",
"mapTo": "rotateBarLabels",
"name": "Rotate bar labels",
Expand Down Expand Up @@ -4805,7 +4805,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
"icontype": "visBarHorizontalStacked",
"id": "horizontal_bar",
"label": "Horizontal bar",
"labelangle": 0,
"labelangle": -45,
"legendposition": "v",
"linewidth": 0,
"mode": "group",
Expand Down Expand Up @@ -4926,7 +4926,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
"yaxis": Object {
"automargin": true,
"tickangle": 0,
"tickangle": -45,
"tickfont": Object {
"size": 12,
},
Expand Down Expand Up @@ -5029,7 +5029,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = `
},
"yaxis": Object {
"automargin": true,
"tickangle": 0,
"tickangle": -45,
"tickfont": Object {
"size": 12,
},
Expand Down
Loading

0 comments on commit d5853bc

Please sign in to comment.