What problem does this feature solve?
I can add markpoint based on max, min, avg points. But if I want to put value on top of each bar. If I am already using label in axisTick properties to show some values in the x-axis. So, I cannot use the label properties. In that case markpoint can be used for each bar value represent. It will be easy for use to understand the values on chart. As example attached mockup below.
What does the proposed API look like?
markPoint: {
data: [
{
value: 2,
label: "Jan"
},
{
value: 4.9,
label: "Feb"
},
{
value: 7,
label: "Mar"
},
...........
]
}
5条答案
按热度按时间kg7wmglp1#
Why not use label? Demo Code
1hdlvixo2#
I am using label already with series to use legend. So, not able to use label again and looking form markpoint if I can use to show the numbers on top. If label use is possible with the other label and legend, can you please help me on this.
Here is the sample code of label and legend I am using - Demo Code
pwuypxnk3#
Why not use label? Demo Code
#18708 (comment)
oxiaedzo4#
You can use visualMap instead of legend - Demo Code .
6kkfgxo05#
You can use visualMap instead of legend - Demo Code .
Okay, I will try out this solution. Thanks for the suggestion.