I'm new here and this maybe a stupid question but I didn't found a solution for it. There are a way to increase the size of the text legends in the graphs? I need to work with print screens to put in a PowerPoint presentation and then the legends are very difficult to read (small size).
Well, real question is... are you ready to suffer?
Answer: Yes, you have to use Custom visualization and play with Vega syntax.
There are Legend properties and editor,if you need. Legend | Vega-Lite Vega Editor
Copy this at line 86, you will see results.
encoding: {
x: {
// The "key" value is the timestamp in milliseconds. Use it for X axis.
field: key
type: temporal
axis: {title: false} // Customize X axis format
}
y: {
// The "doc_count" is the count per bucket. Use it for Y axis.
field: doc_count
type: quantitative
axis: {title: "Document count"}
}
"color": {
field: "Document count", "type": "nominal"
"legend": {
"title": "test"
"fillColor": "red"
"labelFont": "Verdana"
"labelFontSize": "20"
}
}
}
}
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.