How to make a chart graph for profit

I want to make a line chart of profit using the revenue and expenses. Profit= revenue - expenses. Revenue and expenses have data types.

can i do this without creating a data type for profit or do i need to create a data type for profit?

thanks