canvas-table icon indicating copy to clipboard operation
canvas-table copied to clipboard

Additional Formatting Options

Open Mebot2001 opened this issue 2 years ago • 4 comments

Thanks for implementing canvas-table. I have been able to produce this table.

https://cdn.discordapp.com/attachments/1000156390276476968/1004640856009097227/ehp-chart.png

I want to yield this table (produced in google sheets).

https://cdn.discordapp.com/attachments/1000156390276476968/1004858972626497628/unknown.png

What sort of formatting options would I need to be aware of, to be able to:

Rotate the headers, and apply a set of "row headers,"

Apply a top-right "corner title,"

and then shade by value?

Mebot2001 avatar Aug 04 '22 21:08 Mebot2001

You can pass a custom cell. To have a custom background. But rotation is not supported at the moment.

el avatar Aug 04 '22 21:08 el

Rotation is not supported. Good to know. Thanks.

How could I force the columns to have a constant width?

Mebot2001 avatar Aug 04 '22 22:08 Mebot2001

You can pass minWidth and maxWidth

el avatar Aug 04 '22 23:08 el

Would that be in Options ?

Mebot2001 avatar Aug 04 '22 23:08 Mebot2001