sushilbharwani commented on issue #31864:
URL: https://github.com/apache/superset/issues/31864#issuecomment-2595211223
@dosu going through code i have found this function
```
export function getXAxisFormatter(
format?: string,
): TimeFormatter | StringConstructor | undefined {
if (format === SMART_DATE_ID || !format) {
return undefined;
}
if (format) {
return getTimeFormatter(format);
}
return String;
}
```
Where if we have format as SMART_DATE it calls the getTimeFormatter function
other wise it returns the same string.
Based on the above request I am trying to create a StringFormatter Function
so that instead of returning the String as is we can modify the String to be a
substr up to 15 chars. But unable to understand the formatted logic here.
Can you suggest ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]