Skip to content

Instantly share code, notes, and snippets.

@phvaillant
Created January 25, 2019 14:39
Show Gist options
  • Save phvaillant/e7066b6bb8e18dec1084b7de9b27019d to your computer and use it in GitHub Desktop.
Save phvaillant/e7066b6bb8e18dec1084b7de9b27019d to your computer and use it in GitHub Desktop.
<ods-dataset-context context="onlyonecontext" onlyonecontext-dataset="nobel-prize-laureates" onlyonecontext-domain="public">
<ods-chart align-month="true">
<ods-chart-query context="onlyonecontext" field-x="gender" maxpoints="0" sort="serie1-1">
<ods-chart-serie expression-y="id" chart-type="pie" function-y="COUNT" color="range-custom" scientific-display="true">
</ods-chart-serie>
</ods-chart-query>
</ods-chart>
<ods-chart align-month="true">
<ods-chart-query context="onlyonecontext" field-x="diedcountry" maxpoints="20" sort="serie1-1">
<ods-chart-serie expression-y="id" label-y="Number" chart-type="column" function-y="COUNT" color="#FF515A" scientific-display="true">
</ods-chart-serie>
</ods-chart-query>
</ods-chart>
</ods-dataset-context>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment