jqPlot has the ability to create a legend for a chart. The examples show only vertical legends. I would like to make a horizontal legend. For instance, I want:
X-Label1 X-Label2 X-Label3
And don’t want:
X-Label1
X-Label2
X-Label3
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is very easy to achieve using the EnhancedLegendRenderer plugin. Just include the plugin and use options similar to this.
You just have to set the
numberRowsto 1, so the legend will be rendered with only 1 row.