Tooltip in Google Chart while populating chart using JSON

前端 未结 2 795
心在旅途
心在旅途 2021-01-16 08:11

I am populating my Google chart using JSON currently, but I need to customize tooltips as well. Currently my JSON looks like this:

{
    \"cols\": [
                


        
2条回答
  •  野的像风
    2021-01-16 09:03

    The tooltip column is badly defined; should be something like :

    {"id": "", "role": "tooltip", "type": "string", "p" : { "role" : "tooltip" } }   
    

提交回复
热议问题