I'm using the float charts plugin to generate line charts. Until then I have this chart:
Asasettingforplugin
,Iamsayingthatthislineshouldhaveasymbol
oftypecircle
ButIneedthemiddlesymbol,notacircle,oranothersymbolaccordingtoagivencondition
HowcanIdothis?Arethereanyextrapluginsorevenanotherpluginforchartsthatletmedothat?
[Edit]
Asrequested.
Thegraphitselfisgeneratedfromthedatathatispassedtoit.CurrentlyI'mpassingitasfollows:
vardata=[{data:[[1,100],[2,150],[3,200],[4,205],[5,100],[6,100],[7,100],[8,200],[9,100],[10,100]],color:'#21610B',points:{symbol:"circle" }
},
];
As I've mentioned, the value of symbol
is circle
, that is, every point will be a circle, but I wish some points, according to a certain condition, this point is not circle
It also has the options, which look like this:
var options = {
series: {
lines: {
show: true
},
points: {
show: true,
radius: 3
}
}
}