SAP / odata-vocabularies

SAP Vocabularies for semantic markup of structured data published via OData (www.odata.org) services.
https://sap.github.io/odata-vocabularies
Apache License 2.0
165 stars 60 forks source link

Grid #344

Open BerSie opened 5 days ago

BerSie commented 5 days ago

first version

ralfhandl commented 5 days ago

What actually is a "data grid", and why isn't it just another ChartType?

https://github.com/SAP/odata-vocabularies/blob/35c70803cbe5ce3f00f089a0eaf2a8fae27afc98/vocabularies/UI.xml#L793-L800

BerSie commented 5 days ago

What actually is a "data grid", and why isn't it just another ChartType?

https://github.com/SAP/odata-vocabularies/blob/35c70803cbe5ce3f00f089a0eaf2a8fae27afc98/vocabularies/UI.xml#L793-L800

I'm not an expert on that, but a grid has rows and columns which can be flexibly arranged using measures and dimensions (and there is something in addition we left out in the first version, which seems to be called structural properties, which are filter conditions on meaasures - if I got that correctly). So, simply a new chart type wouldn't suffice these requirements.

HeikoTheissen commented 5 days ago

What actually is a "data grid", and why isn't it just another ChartType?

A grid cannot show its full power by making OData requests at runtime, it needs InA for that. The purpose of this pull request is only to define a grid through OData annotations (design time), not offer an OData service for the runtime.

This could be expressed by having an annotated entity type in the CSDL document, but no entity container.