I know this is not necessarily a question for this forum, but I hope someone might be able to help. I want to take the title of my chart directly from the data which are base of the chart. For example the title of this chart should be 'charttitle':
In Vega that is a bit tricky, as it requires to add alongside the query data, also another dataset derived from it with the usage of a transform.
The transform object can apply different types of aggregations in Vega, probably a combination of a window + filter would be a good starting point: Transforms | Vega
thank you very much for your help. I already took a look to the transform.window option and the possibility to isolate a single value by an appropriate filter (e. g. 'rank <= 1'). My main problem is to assign this single value (which is an object in vega?) to the title of the chart
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.