I can plot a graph for one company at a time. For example :
DateListPlot[Entity["Company", "NVIDIACorporation::7ymsk"][EntityProperty["Company","GrossProfit", {"TimeSeriesType" -> #, "Date" -> All}]], ImageSize -> 200, PlotLabel -> #, PlotTheme -> "Business"] & /@ {"Annual", "Quarterly", "TTM"}
How could I compare two "TTM" values of this company and another company on a graph. I tried various things, but I still can't figure it out.
EDIT: I tried to somehow move the pure function, so that it could compare two companies. It turns out I only got to compare two properties of the same company. CODE:
DateListPlot[[EntityProperty["Company","GrossProfit",{"TimeSeriesType"->#,"Date"->All}]]&/@{"TTM", "Annual"},ImageSize->200,PlotLabel-> "Graph",PlotTheme->"Business"]
Show
orDateListPlot[{company1, company2},...]
? $\endgroup$TTM
is a time series. How can you compareTTM
of the same company? To compareTTM
of different companies, do you mean 2 series in the same plot or their ratio? $\endgroup$