I don’t think you can with the built-in chart component but you can probably achieve this with the custom component and use a third-party chart script like Chart.js.
I have done this successfully in the past. Here is a link to the community page where I worked it out with the Tababase team