raphael10-collab commented on issue #16375:
URL: https://github.com/apache/echarts/issues/16375#issuecomment-1013648825


   Hi @plainheart !
   
   Does it mean that this code for building the `data` array up is not correct?
       
       const { chartType, seriesData, xAxisType, xAxisData } = props
   
        const psSeriesDataBuild = (sd: number[], xaxisd: string[]): 
psDataType[] => {
          let psDataArray : psDataType[] = []
          for(let i = 0; i < sd.length; i++) {
            const psDataPair: psDataType = {
              dataPoint: sd[i],
              name: xaxisd[i]
            }
            psDataArray.push(psDataPair)
          }
          return psDataArray
        }
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to