mirror of https://github.com/buster-so/buster.git
update line tension
This commit is contained in:
parent
ee02b6c44a
commit
03cf81cbb0
|
@ -152,7 +152,7 @@ const getLabelPosition = (isStackedArea: boolean) => {
|
||||||
const getLineTension = (lineType: ColumnSettings['lineType']) => {
|
const getLineTension = (lineType: ColumnSettings['lineType']) => {
|
||||||
switch (lineType) {
|
switch (lineType) {
|
||||||
case 'smooth':
|
case 'smooth':
|
||||||
return 0.125;
|
return 0.375;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@ export const useTrendlines = ({
|
||||||
pointRadius: 0,
|
pointRadius: 0,
|
||||||
yAxisID: 'y',
|
yAxisID: 'y',
|
||||||
stack: id,
|
stack: id,
|
||||||
tension: 0.35,
|
tension: 0.25,
|
||||||
order: -1,
|
order: -1,
|
||||||
datalabels: showTrendlineLabel
|
datalabels: showTrendlineLabel
|
||||||
? {
|
? {
|
||||||
|
|
|
@ -111,8 +111,6 @@ const getAssetAccess = ({
|
||||||
|
|
||||||
const status = error?.status;
|
const status = error?.status;
|
||||||
|
|
||||||
console.log(error, status);
|
|
||||||
|
|
||||||
if (status === 418) {
|
if (status === 418) {
|
||||||
return {
|
return {
|
||||||
hasAccess: false,
|
hasAccess: false,
|
||||||
|
|
Loading…
Reference in New Issue