This question about Using an extension: Asked
Can I customize the legend position or visibility
(this is for the
FlotchartPlugin)
Hello,
I am finding the flotchart plugin convenient, because I can define it in a single line, without referencing to a table. Good plugin!
However, I am having trouble because the documentation does not say how to show or hide the legend, or change its position. currently the legend is in the
NorthWest nw position, and in that area it is blocking the latest months data. When "better is good", usually the data points will be hidden under the legend.
In the API this is mentioned:
Customizing the legend
==================
legend: { show: boolean labelFormatter: null or (fn: string, series object -> string) labelBoxBorderColor: color noColumns: number position: "ne" or "nw" or "se" or "sw" margin: number of pixels or [x margin, y margin] backgroundColor: null or color backgroundOpacity: number between 0 and 1 container: null or jQuery object/DOM element/jQuery expression }
But I tried to use those names (such as show or position) within my chart definition and did not have any good results.
Is there a way to specify that? If so, how can I do it?
Thanks,
--
AlexWayne - 19 Jan 2012