After the MarkPoint in echarts4.x configures coord to determine the coordinates, mark the problem that the contents inside are not displayed.

problem description

MarkPoint annotation is used in echarts. After configuring coord, the label in the annotation is not displayed, but write {type:"min", name: "minimum"}, which can show

.

the environmental background of the problems and what methods you have tried

encountered this problem when working on a project. Tried in different axes, category axes, non-category axes. That is, after configuring coord to determine the coordinates, the text in the annotation will not be displayed.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
my configuration item code.
option = {

  xAxis: {
      type: "category",
      data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
  },
  yAxis: {
      type: "value"
  },
  series: [{
      data: [820, 932, 901, 934, 1290, 1330, 1320],
      type: "line",
      smooth: true,
      markPoint: {
        symbol: "pin",
        data: [
          {coord: ["Mon", "822"], name: ""},
          // {type: "min", name: ""}
        ]
      }
  }]
};

what result do you expect? What is the error message actually seen?

I hope the boss can solve this problem, wait online, hurry! I didn"t report it wrong. It"s just that the contents of the tag are not displayed.


{coord: ["Mon", "822"], name: ""}


this is when configuring {type: "min", name:" maximum"}, the text is displayed.

Mar.29,2021

I also encountered this problem, waiting to be resolved


add value attribute,

{
  coord: ['Mon', '822'], 
  value:'822',
  name: ''
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c7a8-2bb63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c7a8-2bb63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?