How does echarts set up how many pieces of data to display?

< H2 > such as the title. For example, I only want to display ten pieces of data, but not the extra ones. How to set the parameters? < / H2 >
Apr.14,2022

Why not set only 10 data lines when setting data


data:data.filter ((ameme I) = > I < = 10)

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-1eacb06-46b78.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-1eacb06-46b78.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?