|
@@ -54,9 +54,6 @@ class BaseChart extends React.Component {
|
|
|
// Chart legend
|
|
|
legend: SentryTypes.EChartsLegend,
|
|
|
|
|
|
- // Chart legend truncate labels
|
|
|
- truncateLegend: PropTypes.bool,
|
|
|
-
|
|
|
// Chart height
|
|
|
height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
|
|
|
@@ -111,7 +108,6 @@ class BaseChart extends React.Component {
|
|
|
renderer: 'svg',
|
|
|
notMerge: true,
|
|
|
lazyUpdate: false,
|
|
|
- truncateLegend: true,
|
|
|
onChartReady: () => {},
|
|
|
options: {},
|
|
|
|
|
@@ -141,7 +137,6 @@ class BaseChart extends React.Component {
|
|
|
grid,
|
|
|
tooltip,
|
|
|
legend,
|
|
|
- truncateLegend,
|
|
|
series,
|
|
|
yAxis,
|
|
|
xAxis,
|
|
@@ -187,7 +182,7 @@ class BaseChart extends React.Component {
|
|
|
color: colors || this.getColorPalette(),
|
|
|
grid: Grid(grid),
|
|
|
tooltip: tooltip !== null ? Tooltip({isGroupedByDate, ...tooltip}) : null,
|
|
|
- legend: legend ? Legend({...legend, truncateLegend}) : null,
|
|
|
+ legend: legend ? Legend({...legend}) : null,
|
|
|
yAxis: yAxis !== null ? YAxis(yAxis) : null,
|
|
|
xAxis:
|
|
|
xAxis !== null
|