diff --git a/examples/go.sum b/examples/go.sum index a1dd6fe..ebd4b5a 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -1,4 +1,13 @@ github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/chromedp/cdproto v0.0.0-20230802225258-3cf4e6d46a89/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= +github.com/chromedp/chromedp v0.9.2/go.mod h1:LkSXJKONWTCHAfQasKFUZI+mxqS4tZqhmtGzzhLsnLs= +github.com/chromedp/sysutil v1.0.0/go.mod h1:kgWmDdq8fTzXYcKIBqIYvRRTnYb9aNS9moAV0xufSww= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= @@ -6,7 +15,15 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/go-gota/gota v0.10.1 h1:BWci+R5dE28GnXoD1EWoQqe7WCQHAPJ996mK7LZrB4U= github.com/go-gota/gota v0.10.1/go.mod h1:NZLQccXn0rABmkXjsaugRY6l+UH2dDZSgIgF8E2ipmA= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= +github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= +github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= +github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= +github.com/gobwas/ws v1.2.1/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -18,67 +35,236 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20240312041847-bd984b5ce465/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs= github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= +github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= +github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= +github.com/onsi/ginkgo/v2 v2.3.0/go.mod h1:Eew0uilEqZmIEZr8JrvYlvOM7Rr6xzTmMV8AyFNU9d0= +github.com/onsi/ginkgo/v2 v2.4.0/go.mod h1:iHkDK1fKGcBoEHT5W7YBq4RFWaQulw+caOMkAt4OrFo= +github.com/onsi/ginkgo/v2 v2.5.0/go.mod h1:Luc4sArBICYCS8THh8v3i3i5CuSZO+RaQRaJoeNwomw= +github.com/onsi/ginkgo/v2 v2.7.0/go.mod h1:yjiuMwPokqY1XauOgju45q3sJt6VzQ/Fict1LFVcsAo= +github.com/onsi/ginkgo/v2 v2.8.1/go.mod h1:N1/NbDngAFcSLdyZ+/aYTYGSlq9qMCS/cNKGJjy+csc= +github.com/onsi/ginkgo/v2 v2.9.0/go.mod h1:4xkjoL/tZv4SMWeww56BU5kAt19mVB47gTWxmrTcxyk= +github.com/onsi/ginkgo/v2 v2.9.1/go.mod h1:FEcmzVcCHl+4o9bQZVab+4dC9+j+91t2FHSzmGAPfuo= +github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= +github.com/onsi/ginkgo/v2 v2.9.5/go.mod h1:tvAoo1QUJwNEU2ITftXTpR7R1RbCzoZUOs3RonqW57k= +github.com/onsi/ginkgo/v2 v2.9.7/go.mod h1:cxrmXWykAwTwhQsJOPfdIDiJ+l2RYq7U8hFU+M/1uw0= +github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= +github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= +github.com/onsi/ginkgo/v2 v2.17.1/go.mod h1:llBI3WDLL9Z6taip6f33H76YcWtJv+7R3HigUjbIBOs= +github.com/onsi/ginkgo/v2 v2.17.2/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.12.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= +github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= +github.com/onsi/gomega v1.21.1/go.mod h1:iYAIXgPSaDHak0LCMA+AWBpIKBr8WZicMxnE8luStNc= +github.com/onsi/gomega v1.22.1/go.mod h1:x6n7VNe4hw0vkyYUM4mjIXx3JbLiPaBPNgB7PRQ1tuM= +github.com/onsi/gomega v1.24.0/go.mod h1:Z/NWtiqwBrwUt4/2loMmHL63EDLnYHmVbuBpDr2vQAg= +github.com/onsi/gomega v1.24.1/go.mod h1:3AOiACssS3/MajrniINInwbfOOtfZvplPzuRSmvt1jM= +github.com/onsi/gomega v1.26.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= +github.com/onsi/gomega v1.27.1/go.mod h1:aHX5xOykVYzWOV4WqQy0sy8BQptgukenXpCXfadcIAw= +github.com/onsi/gomega v1.27.3/go.mod h1:5vG284IBtfDAmDyrK+eGyZmUgUlmi+Wngqo557cZ6Gw= +github.com/onsi/gomega v1.27.4/go.mod h1:riYq/GJKh8hhoM01HN6Vmuy93AarCXCBGpvFDK3q3fQ= +github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= +github.com/onsi/gomega v1.27.7/go.mod h1:1p8OOlwo2iUUDsHnOrjE5UKYJ+e3W8eQ3qSlRahPmr4= +github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= +github.com/onsi/gomega v1.33.0/go.mod h1:+925n5YtiFsLzzafLUHzVMBpvvRAzrydIBiSIxjX3wY= +github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4 h1:49lOXmGaUpV9Fz3gd7TFZY106KVlPVa5jcYD1gaQf98= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= +golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= +golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2 h1:y102fOLFqhV41b+4GPiJoa0k/x+pJcEi2/HB1Y5T6fU= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= +golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= +golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= +golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= +golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= +golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= +golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= +golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -97,6 +283,8 @@ google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzi google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= @@ -104,4 +292,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/generator/typefile.go b/generator/typefile.go index f5ee3d6..408eb89 100644 --- a/generator/typefile.go +++ b/generator/typefile.go @@ -86,13 +86,23 @@ func (file *typeFile) parseAttributes(namePrefix string, typePrefix string, attr } attr := attr[name] + // if arrays are allowed, example marker sizes, then javascript allows multiple different inputs hard to map in golang: + // [100,50,25,25,50,100] -> use different sizes for the markers + // [100] -> only the first marker will have size 100, all others have 0 size + // 100 -> all markers have size 100 + // this can only be captures by using interface and allowing the user to define the used type themselves. + // this sadly means that there is no more type checking on those entries + var adjust = func(typename string) string { return typename } + if attr.ArrayOK { + adjust = func(typename string) string { return "interface{}" } + } switch { case attr.Role == RoleObject && len(attr.Items) > 0: fields = append(fields, structField{ Name: xstrings.ToCamelCase(attr.Name), JSONName: attr.Name, - Type: "interface{}", + Type: adjust("interface{}"), Description: []string{ "It's an items array and what goes inside it's... messy... check the docs", "I will be happy if you want to contribute by implementing this", @@ -109,7 +119,7 @@ func (file *typeFile) parseAttributes(namePrefix string, typePrefix string, attr fields = append(fields, structField{ Name: xstrings.ToCamelCase(attr.Name), JSONName: attr.Name, - Type: "*" + name, + Type: adjust("*" + name), Description: []string{ "role: Object", }, @@ -124,7 +134,7 @@ func (file *typeFile) parseAttributes(namePrefix string, typePrefix string, attr fields = append(fields, structField{ Name: xstrings.ToCamelCase(attr.Name), JSONName: attr.Name, - Type: typePrefix + xstrings.ToCamelCase(attr.Name), + Type: adjust(typePrefix + xstrings.ToCamelCase(attr.Name)), Description: []string{ fmt.Sprintf("default: %s", attr.Dflt), fmt.Sprintf("type: %s", attr.ValType), @@ -142,7 +152,7 @@ func (file *typeFile) parseAttributes(namePrefix string, typePrefix string, attr fields = append(fields, structField{ Name: xstrings.ToCamelCase(attr.Name), JSONName: attr.Name, - Type: typeName, + Type: adjust(typeName), Description: []string{ fmt.Sprintf("default: %s", attr.Dflt), fmt.Sprintf("type: %s", attr.ValType), @@ -154,7 +164,7 @@ func (file *typeFile) parseAttributes(namePrefix string, typePrefix string, attr fields = append(fields, structField{ Name: xstrings.ToCamelCase(attr.Name), JSONName: attr.Name, - Type: "ColorScale", + Type: adjust("ColorScale"), Description: []string{ fmt.Sprintf("default: %s", attr.Dflt), fmt.Sprintf("type: %s", attr.ValType), @@ -167,7 +177,7 @@ func (file *typeFile) parseAttributes(namePrefix string, typePrefix string, attr fields = append(fields, structField{ Name: xstrings.ToCamelCase(attr.Name), JSONName: attr.Name, - Type: ty, + Type: adjust(ty), Description: []string{ fmt.Sprintf("arrayOK: %t", attr.ArrayOK), fmt.Sprintf("type: %s", attr.ValType), diff --git a/graph_objects/area_gen.go b/graph_objects/area_gen.go index 887eee7..4ac28a7 100644 --- a/graph_objects/area_gen.go +++ b/graph_objects/area_gen.go @@ -31,7 +31,7 @@ type Area struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo AreaHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -155,7 +155,7 @@ type AreaHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -167,7 +167,7 @@ type AreaHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -179,7 +179,7 @@ type AreaHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -195,7 +195,7 @@ type AreaHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align AreaHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -207,7 +207,7 @@ type AreaHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -219,7 +219,7 @@ type AreaHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -235,7 +235,7 @@ type AreaHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -251,7 +251,7 @@ type AreaMarker struct { // arrayOK: true // type: color // Area traces are deprecated! Please switch to the *barpolar* trace type. Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -263,7 +263,7 @@ type AreaMarker struct { // arrayOK: true // type: number // Area traces are deprecated! Please switch to the *barpolar* trace type. Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -275,7 +275,7 @@ type AreaMarker struct { // arrayOK: true // type: number // Area traces are deprecated! Please switch to the *barpolar* trace type. Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -287,7 +287,7 @@ type AreaMarker struct { // default: circle // type: enumerated // Area traces are deprecated! Please switch to the *barpolar* trace type. Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol AreaMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false diff --git a/graph_objects/bar_gen.go b/graph_objects/bar_gen.go index fd8479e..6e34741 100644 --- a/graph_objects/bar_gen.go +++ b/graph_objects/bar_gen.go @@ -81,7 +81,7 @@ type Bar struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo BarHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -97,7 +97,7 @@ type Bar struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -109,7 +109,7 @@ type Bar struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -171,7 +171,7 @@ type Bar struct { // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset float64 `json:"offset,omitempty"` + Offset interface{} `json:"offset,omitempty"` // Offsetgroup // arrayOK: false @@ -243,7 +243,7 @@ type Bar struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textangle // arrayOK: false @@ -259,7 +259,7 @@ type Bar struct { // default: none // type: enumerated // Specifies the location of the `text`. *inside* positions `text` inside, next to the bar end (rotated and scaled if needed). *outside* positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. *auto* tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. - Textposition BarTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -277,7 +277,7 @@ type Bar struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `value` and `label`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -323,7 +323,7 @@ type Bar struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -617,7 +617,7 @@ type BarHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -629,7 +629,7 @@ type BarHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -641,7 +641,7 @@ type BarHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -657,7 +657,7 @@ type BarHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align BarHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -669,7 +669,7 @@ type BarHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -681,7 +681,7 @@ type BarHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -697,7 +697,7 @@ type BarHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -713,7 +713,7 @@ type BarInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -725,7 +725,7 @@ type BarInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -737,7 +737,7 @@ type BarInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -1099,7 +1099,7 @@ type BarMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1129,7 +1129,7 @@ type BarMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -1175,7 +1175,7 @@ type BarMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1207,7 +1207,7 @@ type BarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -1235,7 +1235,7 @@ type BarOutsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1247,7 +1247,7 @@ type BarOutsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1259,7 +1259,7 @@ type BarOutsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -1329,7 +1329,7 @@ type BarTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1341,7 +1341,7 @@ type BarTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1353,7 +1353,7 @@ type BarTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/barpolar_gen.go b/graph_objects/barpolar_gen.go index 6cb23d0..5a61121 100644 --- a/graph_objects/barpolar_gen.go +++ b/graph_objects/barpolar_gen.go @@ -55,7 +55,7 @@ type Barpolar struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo BarpolarHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -71,7 +71,7 @@ type Barpolar struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -83,7 +83,7 @@ type Barpolar struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -135,7 +135,7 @@ type Barpolar struct { // arrayOK: true // type: number // Shifts the angular position where the bar is drawn (in *thetatunit* units). - Offset float64 `json:"offset,omitempty"` + Offset interface{} `json:"offset,omitempty"` // Offsetsrc // arrayOK: false @@ -197,7 +197,7 @@ type Barpolar struct { // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -261,7 +261,7 @@ type Barpolar struct { // arrayOK: true // type: number // Sets the bar angular width (in *thetaunit* units). - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -277,7 +277,7 @@ type BarpolarHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -289,7 +289,7 @@ type BarpolarHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -301,7 +301,7 @@ type BarpolarHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -317,7 +317,7 @@ type BarpolarHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align BarpolarHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -329,7 +329,7 @@ type BarpolarHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -341,7 +341,7 @@ type BarpolarHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -357,7 +357,7 @@ type BarpolarHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -719,7 +719,7 @@ type BarpolarMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -749,7 +749,7 @@ type BarpolarMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -795,7 +795,7 @@ type BarpolarMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -827,7 +827,7 @@ type BarpolarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false diff --git a/graph_objects/box_gen.go b/graph_objects/box_gen.go index 59eae61..eaa0d50 100644 --- a/graph_objects/box_gen.go +++ b/graph_objects/box_gen.go @@ -67,7 +67,7 @@ type Box struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo BoxHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -89,7 +89,7 @@ type Box struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -101,7 +101,7 @@ type Box struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -309,7 +309,7 @@ type Box struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -473,7 +473,7 @@ type BoxHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -485,7 +485,7 @@ type BoxHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -497,7 +497,7 @@ type BoxHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -513,7 +513,7 @@ type BoxHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align BoxHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -525,7 +525,7 @@ type BoxHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -537,7 +537,7 @@ type BoxHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -553,7 +553,7 @@ type BoxHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/candlestick_gen.go b/graph_objects/candlestick_gen.go index 84e1d31..caf5fb8 100644 --- a/graph_objects/candlestick_gen.go +++ b/graph_objects/candlestick_gen.go @@ -59,7 +59,7 @@ type Candlestick struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo CandlestickHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -75,7 +75,7 @@ type Candlestick struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -177,7 +177,7 @@ type Candlestick struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -301,7 +301,7 @@ type CandlestickHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -313,7 +313,7 @@ type CandlestickHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -325,7 +325,7 @@ type CandlestickHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -341,7 +341,7 @@ type CandlestickHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align CandlestickHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -353,7 +353,7 @@ type CandlestickHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -365,7 +365,7 @@ type CandlestickHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -381,7 +381,7 @@ type CandlestickHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/choropleth_gen.go b/graph_objects/choropleth_gen.go index 1e94a30..08f721a 100644 --- a/graph_objects/choropleth_gen.go +++ b/graph_objects/choropleth_gen.go @@ -71,7 +71,7 @@ type Choropleth struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ChoroplethHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -87,7 +87,7 @@ type Choropleth struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -99,7 +99,7 @@ type Choropleth struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -201,7 +201,7 @@ type Choropleth struct { // arrayOK: true // type: string // Sets the text elements associated with each location. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -597,7 +597,7 @@ type ChoroplethHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -609,7 +609,7 @@ type ChoroplethHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -621,7 +621,7 @@ type ChoroplethHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -637,7 +637,7 @@ type ChoroplethHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ChoroplethHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -649,7 +649,7 @@ type ChoroplethHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -661,7 +661,7 @@ type ChoroplethHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -677,7 +677,7 @@ type ChoroplethHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -693,7 +693,7 @@ type ChoroplethMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -705,7 +705,7 @@ type ChoroplethMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -725,7 +725,7 @@ type ChoroplethMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false diff --git a/graph_objects/choroplethmapbox_gen.go b/graph_objects/choroplethmapbox_gen.go index 0340e8c..d1d0cb1 100644 --- a/graph_objects/choroplethmapbox_gen.go +++ b/graph_objects/choroplethmapbox_gen.go @@ -71,7 +71,7 @@ type Choroplethmapbox struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ChoroplethmapboxHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -87,7 +87,7 @@ type Choroplethmapbox struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `properties` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -99,7 +99,7 @@ type Choroplethmapbox struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -201,7 +201,7 @@ type Choroplethmapbox struct { // arrayOK: true // type: string // Sets the text elements associated with each location. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -597,7 +597,7 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -609,7 +609,7 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -621,7 +621,7 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -637,7 +637,7 @@ type ChoroplethmapboxHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ChoroplethmapboxHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -649,7 +649,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -661,7 +661,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -677,7 +677,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -693,7 +693,7 @@ type ChoroplethmapboxMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -705,7 +705,7 @@ type ChoroplethmapboxMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -725,7 +725,7 @@ type ChoroplethmapboxMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false diff --git a/graph_objects/cone_gen.go b/graph_objects/cone_gen.go index 5d131d7..6b30808 100644 --- a/graph_objects/cone_gen.go +++ b/graph_objects/cone_gen.go @@ -83,7 +83,7 @@ type Cone struct { // default: x+y+z+norm+text+name // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ConeHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -99,7 +99,7 @@ type Cone struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `norm` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -111,7 +111,7 @@ type Cone struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -213,7 +213,7 @@ type Cone struct { // arrayOK: true // type: string // Sets the text elements associated with the cones. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -635,7 +635,7 @@ type ConeHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -647,7 +647,7 @@ type ConeHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -659,7 +659,7 @@ type ConeHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -675,7 +675,7 @@ type ConeHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ConeHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -687,7 +687,7 @@ type ConeHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -699,7 +699,7 @@ type ConeHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -715,7 +715,7 @@ type ConeHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/contour_gen.go b/graph_objects/contour_gen.go index ab25035..3f087fc 100644 --- a/graph_objects/contour_gen.go +++ b/graph_objects/contour_gen.go @@ -87,7 +87,7 @@ type Contour struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ContourHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -109,7 +109,7 @@ type Contour struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -809,7 +809,7 @@ type ContourHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -821,7 +821,7 @@ type ContourHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -833,7 +833,7 @@ type ContourHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -849,7 +849,7 @@ type ContourHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ContourHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -861,7 +861,7 @@ type ContourHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -873,7 +873,7 @@ type ContourHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -889,7 +889,7 @@ type ContourHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/densitymapbox_gen.go b/graph_objects/densitymapbox_gen.go index c5ec34e..7b0e697 100644 --- a/graph_objects/densitymapbox_gen.go +++ b/graph_objects/densitymapbox_gen.go @@ -59,7 +59,7 @@ type Densitymapbox struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo DensitymapboxHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -75,7 +75,7 @@ type Densitymapbox struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -87,7 +87,7 @@ type Densitymapbox struct { // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -165,7 +165,7 @@ type Densitymapbox struct { // arrayOK: true // type: number // Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymapbox trace smoother, but less detailed. - Radius float64 `json:"radius,omitempty"` + Radius interface{} `json:"radius,omitempty"` // Radiussrc // arrayOK: false @@ -205,7 +205,7 @@ type Densitymapbox struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -597,7 +597,7 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -609,7 +609,7 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -621,7 +621,7 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -637,7 +637,7 @@ type DensitymapboxHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align DensitymapboxHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -649,7 +649,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -661,7 +661,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -677,7 +677,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/funnel_gen.go b/graph_objects/funnel_gen.go index a9bda6c..279366b 100644 --- a/graph_objects/funnel_gen.go +++ b/graph_objects/funnel_gen.go @@ -65,7 +65,7 @@ type Funnel struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo FunnelHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -81,7 +81,7 @@ type Funnel struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `percentInitial`, `percentPrevious` and `percentTotal`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -93,7 +93,7 @@ type Funnel struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -199,7 +199,7 @@ type Funnel struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textangle // arrayOK: false @@ -221,7 +221,7 @@ type Funnel struct { // default: auto // type: enumerated // Specifies the location of the `text`. *inside* positions `text` inside, next to the bar end (rotated and scaled if needed). *outside* positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. *auto* tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. - Textposition FunnelTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -239,7 +239,7 @@ type Funnel struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `percentInitial`, `percentPrevious`, `percentTotal`, `label` and `value`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -411,7 +411,7 @@ type FunnelHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -423,7 +423,7 @@ type FunnelHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -435,7 +435,7 @@ type FunnelHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -451,7 +451,7 @@ type FunnelHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align FunnelHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -463,7 +463,7 @@ type FunnelHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -475,7 +475,7 @@ type FunnelHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -491,7 +491,7 @@ type FunnelHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -507,7 +507,7 @@ type FunnelInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -519,7 +519,7 @@ type FunnelInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -531,7 +531,7 @@ type FunnelInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -893,7 +893,7 @@ type FunnelMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -923,7 +923,7 @@ type FunnelMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -969,7 +969,7 @@ type FunnelMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1001,7 +1001,7 @@ type FunnelMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -1029,7 +1029,7 @@ type FunnelOutsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1041,7 +1041,7 @@ type FunnelOutsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1053,7 +1053,7 @@ type FunnelOutsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -1085,7 +1085,7 @@ type FunnelTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1097,7 +1097,7 @@ type FunnelTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1109,7 +1109,7 @@ type FunnelTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/funnelarea_gen.go b/graph_objects/funnelarea_gen.go index 3e499d1..196314e 100644 --- a/graph_objects/funnelarea_gen.go +++ b/graph_objects/funnelarea_gen.go @@ -53,7 +53,7 @@ type Funnelarea struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo FunnelareaHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -69,7 +69,7 @@ type Funnelarea struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `label`, `color`, `value`, `text` and `percent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -81,7 +81,7 @@ type Funnelarea struct { // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -193,7 +193,7 @@ type Funnelarea struct { // default: inside // type: enumerated // Specifies the location of the `textinfo`. - Textposition FunnelareaTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -211,7 +211,7 @@ type Funnelarea struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `label`, `color`, `value`, `text` and `percent`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -295,7 +295,7 @@ type FunnelareaHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -307,7 +307,7 @@ type FunnelareaHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -319,7 +319,7 @@ type FunnelareaHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -335,7 +335,7 @@ type FunnelareaHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align FunnelareaHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -347,7 +347,7 @@ type FunnelareaHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -359,7 +359,7 @@ type FunnelareaHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -375,7 +375,7 @@ type FunnelareaHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -391,7 +391,7 @@ type FunnelareaInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -403,7 +403,7 @@ type FunnelareaInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -415,7 +415,7 @@ type FunnelareaInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -431,7 +431,7 @@ type FunnelareaMarkerLine struct { // arrayOK: true // type: color // Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -443,7 +443,7 @@ type FunnelareaMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -495,7 +495,7 @@ type FunnelareaTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -507,7 +507,7 @@ type FunnelareaTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -519,7 +519,7 @@ type FunnelareaTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -535,7 +535,7 @@ type FunnelareaTitleFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -547,7 +547,7 @@ type FunnelareaTitleFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -559,7 +559,7 @@ type FunnelareaTitleFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/heatmap_gen.go b/graph_objects/heatmap_gen.go index 1d1fa00..3c6eed0 100644 --- a/graph_objects/heatmap_gen.go +++ b/graph_objects/heatmap_gen.go @@ -71,7 +71,7 @@ type Heatmap struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo HeatmapHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -93,7 +93,7 @@ type Heatmap struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -711,7 +711,7 @@ type HeatmapHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -723,7 +723,7 @@ type HeatmapHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -735,7 +735,7 @@ type HeatmapHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -751,7 +751,7 @@ type HeatmapHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align HeatmapHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -763,7 +763,7 @@ type HeatmapHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -775,7 +775,7 @@ type HeatmapHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -791,7 +791,7 @@ type HeatmapHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/heatmapgl_gen.go b/graph_objects/heatmapgl_gen.go index 9e8345f..40ab708 100644 --- a/graph_objects/heatmapgl_gen.go +++ b/graph_objects/heatmapgl_gen.go @@ -65,7 +65,7 @@ type Heatmapgl struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo HeatmapglHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -597,7 +597,7 @@ type HeatmapglHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -609,7 +609,7 @@ type HeatmapglHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -621,7 +621,7 @@ type HeatmapglHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -637,7 +637,7 @@ type HeatmapglHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align HeatmapglHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -649,7 +649,7 @@ type HeatmapglHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -661,7 +661,7 @@ type HeatmapglHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -677,7 +677,7 @@ type HeatmapglHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/histogram2d_gen.go b/graph_objects/histogram2d_gen.go index f11a99c..957e4bf 100644 --- a/graph_objects/histogram2d_gen.go +++ b/graph_objects/histogram2d_gen.go @@ -83,7 +83,7 @@ type Histogram2d struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo Histogram2dHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -99,7 +99,7 @@ type Histogram2d struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -663,7 +663,7 @@ type Histogram2dHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -675,7 +675,7 @@ type Histogram2dHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -687,7 +687,7 @@ type Histogram2dHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -703,7 +703,7 @@ type Histogram2dHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align Histogram2dHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -715,7 +715,7 @@ type Histogram2dHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -727,7 +727,7 @@ type Histogram2dHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -743,7 +743,7 @@ type Histogram2dHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/histogram2dcontour_gen.go b/graph_objects/histogram2dcontour_gen.go index d513deb..41ecc11 100644 --- a/graph_objects/histogram2dcontour_gen.go +++ b/graph_objects/histogram2dcontour_gen.go @@ -93,7 +93,7 @@ type Histogram2dcontour struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo Histogram2dcontourHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -109,7 +109,7 @@ type Histogram2dcontour struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -755,7 +755,7 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -767,7 +767,7 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -779,7 +779,7 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -795,7 +795,7 @@ type Histogram2dcontourHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align Histogram2dcontourHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -807,7 +807,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -819,7 +819,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -835,7 +835,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/histogram_gen.go b/graph_objects/histogram_gen.go index 68ac525..13e2def 100644 --- a/graph_objects/histogram_gen.go +++ b/graph_objects/histogram_gen.go @@ -79,7 +79,7 @@ type Histogram struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo HistogramHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -95,7 +95,7 @@ type Histogram struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variable `binNumber` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -107,7 +107,7 @@ type Histogram struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -209,7 +209,7 @@ type Histogram struct { // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -513,7 +513,7 @@ type HistogramHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -525,7 +525,7 @@ type HistogramHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -537,7 +537,7 @@ type HistogramHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -553,7 +553,7 @@ type HistogramHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align HistogramHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -565,7 +565,7 @@ type HistogramHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -577,7 +577,7 @@ type HistogramHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -593,7 +593,7 @@ type HistogramHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -955,7 +955,7 @@ type HistogramMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -985,7 +985,7 @@ type HistogramMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -1031,7 +1031,7 @@ type HistogramMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1063,7 +1063,7 @@ type HistogramMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false diff --git a/graph_objects/image_gen.go b/graph_objects/image_gen.go index 62f623e..1fab0c4 100644 --- a/graph_objects/image_gen.go +++ b/graph_objects/image_gen.go @@ -49,7 +49,7 @@ type Image struct { // default: x+y+z+text+name // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ImageHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -65,7 +65,7 @@ type Image struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `z`, `color` and `colormodel`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -217,7 +217,7 @@ type ImageHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -229,7 +229,7 @@ type ImageHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -241,7 +241,7 @@ type ImageHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -257,7 +257,7 @@ type ImageHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ImageHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -269,7 +269,7 @@ type ImageHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -281,7 +281,7 @@ type ImageHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -297,7 +297,7 @@ type ImageHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/isosurface_gen.go b/graph_objects/isosurface_gen.go index 11fa457..32dcf1f 100644 --- a/graph_objects/isosurface_gen.go +++ b/graph_objects/isosurface_gen.go @@ -91,7 +91,7 @@ type Isosurface struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo IsosurfaceHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -107,7 +107,7 @@ type Isosurface struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -119,7 +119,7 @@ type Isosurface struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -233,7 +233,7 @@ type Isosurface struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -717,7 +717,7 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -729,7 +729,7 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -741,7 +741,7 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -757,7 +757,7 @@ type IsosurfaceHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align IsosurfaceHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -769,7 +769,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -781,7 +781,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -797,7 +797,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/mesh3d_gen.go b/graph_objects/mesh3d_gen.go index 4f40eda..f511117 100644 --- a/graph_objects/mesh3d_gen.go +++ b/graph_objects/mesh3d_gen.go @@ -117,7 +117,7 @@ type Mesh3d struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo Mesh3dHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -133,7 +133,7 @@ type Mesh3d struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -145,7 +145,7 @@ type Mesh3d struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -289,7 +289,7 @@ type Mesh3d struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -727,7 +727,7 @@ type Mesh3dHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -739,7 +739,7 @@ type Mesh3dHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -751,7 +751,7 @@ type Mesh3dHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -767,7 +767,7 @@ type Mesh3dHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align Mesh3dHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -779,7 +779,7 @@ type Mesh3dHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -791,7 +791,7 @@ type Mesh3dHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -807,7 +807,7 @@ type Mesh3dHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/ohlc_gen.go b/graph_objects/ohlc_gen.go index 49b1ce6..e3780f9 100644 --- a/graph_objects/ohlc_gen.go +++ b/graph_objects/ohlc_gen.go @@ -59,7 +59,7 @@ type Ohlc struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo OhlcHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -75,7 +75,7 @@ type Ohlc struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -177,7 +177,7 @@ type Ohlc struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -301,7 +301,7 @@ type OhlcHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -313,7 +313,7 @@ type OhlcHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -325,7 +325,7 @@ type OhlcHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -341,7 +341,7 @@ type OhlcHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align OhlcHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -353,7 +353,7 @@ type OhlcHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -365,7 +365,7 @@ type OhlcHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -381,7 +381,7 @@ type OhlcHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/parcats_gen.go b/graph_objects/parcats_gen.go index 8818a87..ba9fed2 100644 --- a/graph_objects/parcats_gen.go +++ b/graph_objects/parcats_gen.go @@ -31,7 +31,7 @@ type Parcats struct { // arrayOK: true // type: number // The number of observations represented by each state. Defaults to 1 so that each state represents one observation - Counts float64 `json:"counts,omitempty"` + Counts interface{} `json:"counts,omitempty"` // Countssrc // arrayOK: false @@ -535,7 +535,7 @@ type ParcatsLine struct { // arrayOK: true // type: color // Sets thelinecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `line.cmin` and `line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false diff --git a/graph_objects/parcoords_gen.go b/graph_objects/parcoords_gen.go index 708f1d3..863d0f9 100644 --- a/graph_objects/parcoords_gen.go +++ b/graph_objects/parcoords_gen.go @@ -527,7 +527,7 @@ type ParcoordsLine struct { // arrayOK: true // type: color // Sets thelinecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `line.cmin` and `line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false diff --git a/graph_objects/pie_gen.go b/graph_objects/pie_gen.go index 55e6213..abb175f 100644 --- a/graph_objects/pie_gen.go +++ b/graph_objects/pie_gen.go @@ -59,7 +59,7 @@ type Pie struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo PieHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -75,7 +75,7 @@ type Pie struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `label`, `color`, `value`, `percent` and `text`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -87,7 +87,7 @@ type Pie struct { // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -177,7 +177,7 @@ type Pie struct { // arrayOK: true // type: number // Sets the fraction of larger radius to pull the sectors out from the center. This can be a constant to pull all slices apart from each other equally or an array to highlight one or more slices. - Pull float64 `json:"pull,omitempty"` + Pull interface{} `json:"pull,omitempty"` // Pullsrc // arrayOK: false @@ -233,7 +233,7 @@ type Pie struct { // default: auto // type: enumerated // Specifies the location of the `textinfo`. - Textposition PieTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -251,7 +251,7 @@ type Pie struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `label`, `color`, `value`, `percent` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -335,7 +335,7 @@ type PieHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -347,7 +347,7 @@ type PieHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -359,7 +359,7 @@ type PieHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -375,7 +375,7 @@ type PieHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align PieHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -387,7 +387,7 @@ type PieHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -399,7 +399,7 @@ type PieHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -415,7 +415,7 @@ type PieHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -431,7 +431,7 @@ type PieInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -443,7 +443,7 @@ type PieInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -455,7 +455,7 @@ type PieInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -471,7 +471,7 @@ type PieMarkerLine struct { // arrayOK: true // type: color // Sets the color of the line enclosing each sector. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -483,7 +483,7 @@ type PieMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -519,7 +519,7 @@ type PieOutsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -531,7 +531,7 @@ type PieOutsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -543,7 +543,7 @@ type PieOutsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -575,7 +575,7 @@ type PieTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -587,7 +587,7 @@ type PieTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -599,7 +599,7 @@ type PieTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -615,7 +615,7 @@ type PieTitleFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -627,7 +627,7 @@ type PieTitleFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -639,7 +639,7 @@ type PieTitleFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/pointcloud_gen.go b/graph_objects/pointcloud_gen.go index a97e925..7969464 100644 --- a/graph_objects/pointcloud_gen.go +++ b/graph_objects/pointcloud_gen.go @@ -31,7 +31,7 @@ type Pointcloud struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo PointcloudHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -115,7 +115,7 @@ type Pointcloud struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -221,7 +221,7 @@ type PointcloudHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -233,7 +233,7 @@ type PointcloudHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -245,7 +245,7 @@ type PointcloudHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -261,7 +261,7 @@ type PointcloudHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align PointcloudHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -273,7 +273,7 @@ type PointcloudHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -285,7 +285,7 @@ type PointcloudHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -301,7 +301,7 @@ type PointcloudHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/sankey_gen.go b/graph_objects/sankey_gen.go index d3a1f20..8bae238 100644 --- a/graph_objects/sankey_gen.go +++ b/graph_objects/sankey_gen.go @@ -171,7 +171,7 @@ type SankeyHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -183,7 +183,7 @@ type SankeyHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -195,7 +195,7 @@ type SankeyHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -211,7 +211,7 @@ type SankeyHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align SankeyHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -223,7 +223,7 @@ type SankeyHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -235,7 +235,7 @@ type SankeyHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -251,7 +251,7 @@ type SankeyHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -267,7 +267,7 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -279,7 +279,7 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -291,7 +291,7 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -307,7 +307,7 @@ type SankeyLinkHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align SankeyLinkHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -319,7 +319,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -331,7 +331,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -347,7 +347,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -363,7 +363,7 @@ type SankeyLinkLine struct { // arrayOK: true // type: color // Sets the color of the `line` around each `link`. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -375,7 +375,7 @@ type SankeyLinkLine struct { // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `link`. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -391,7 +391,7 @@ type SankeyLink struct { // arrayOK: true // type: color // Sets the `link` color. It can be a single value, or an array for specifying color for each `link`. If `link.color` is omitted, then by default, a translucent grey link will be used. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorscales // It's an items array and what goes inside it's... messy... check the docs @@ -431,7 +431,7 @@ type SankeyLink struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -499,7 +499,7 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -511,7 +511,7 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -523,7 +523,7 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -539,7 +539,7 @@ type SankeyNodeHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align SankeyNodeHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -551,7 +551,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -563,7 +563,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -579,7 +579,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -595,7 +595,7 @@ type SankeyNodeLine struct { // arrayOK: true // type: color // Sets the color of the `line` around each `node`. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -607,7 +607,7 @@ type SankeyNodeLine struct { // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `node`. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -623,7 +623,7 @@ type SankeyNode struct { // arrayOK: true // type: color // Sets the `node` color. It can be a single value, or an array for specifying color for each `node`. If `node.color` is omitted, then the default `Plotly` color palette will be cycled through to have a variety of colors. These defaults are not fully opaque, to allow some visibility of what is beneath the node. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -663,7 +663,7 @@ type SankeyNode struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false diff --git a/graph_objects/scatter3d_gen.go b/graph_objects/scatter3d_gen.go index 248f44d..537184d 100644 --- a/graph_objects/scatter3d_gen.go +++ b/graph_objects/scatter3d_gen.go @@ -49,7 +49,7 @@ type Scatter3d struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo Scatter3dHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -65,7 +65,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -77,7 +77,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -177,7 +177,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -187,7 +187,7 @@ type Scatter3d struct { // default: top center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition Scatter3dTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -205,7 +205,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -575,7 +575,7 @@ type Scatter3dHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -587,7 +587,7 @@ type Scatter3dHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -599,7 +599,7 @@ type Scatter3dHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -615,7 +615,7 @@ type Scatter3dHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align Scatter3dHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -627,7 +627,7 @@ type Scatter3dHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -639,7 +639,7 @@ type Scatter3dHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -655,7 +655,7 @@ type Scatter3dHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -1017,7 +1017,7 @@ type Scatter3dLine struct { // arrayOK: true // type: color // Sets thelinecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `line.cmin` and `line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1419,7 +1419,7 @@ type Scatter3dMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1489,7 +1489,7 @@ type Scatter3dMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1539,7 +1539,7 @@ type Scatter3dMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -1569,7 +1569,7 @@ type Scatter3dMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. - Symbol Scatter3dMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1683,7 +1683,7 @@ type Scatter3dTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1701,7 +1701,7 @@ type Scatter3dTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scatter_gen.go b/graph_objects/scatter_gen.go index 4c0f8dd..972f4a5 100644 --- a/graph_objects/scatter_gen.go +++ b/graph_objects/scatter_gen.go @@ -81,7 +81,7 @@ type Scatter struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScatterHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -103,7 +103,7 @@ type Scatter struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -115,7 +115,7 @@ type Scatter struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -239,7 +239,7 @@ type Scatter struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -249,7 +249,7 @@ type Scatter struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScatterTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -267,7 +267,7 @@ type Scatter struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -595,7 +595,7 @@ type ScatterHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -607,7 +607,7 @@ type ScatterHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -619,7 +619,7 @@ type ScatterHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -635,7 +635,7 @@ type ScatterHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScatterHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -647,7 +647,7 @@ type ScatterHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -659,7 +659,7 @@ type ScatterHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -675,7 +675,7 @@ type ScatterHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -1047,7 +1047,7 @@ type ScatterMarkerGradient struct { // arrayOK: true // type: color // Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1059,7 +1059,7 @@ type ScatterMarkerGradient struct { // default: none // type: enumerated // Sets the type of gradient used to fill the markers - Type ScatterMarkerGradientType `json:"type,omitempty"` + Type interface{} `json:"type,omitempty"` // Typesrc // arrayOK: false @@ -1105,7 +1105,7 @@ type ScatterMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1135,7 +1135,7 @@ type ScatterMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -1181,7 +1181,7 @@ type ScatterMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1223,7 +1223,7 @@ type ScatterMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -1247,7 +1247,7 @@ type ScatterMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -1277,7 +1277,7 @@ type ScatterMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScatterMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1353,7 +1353,7 @@ type ScatterTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1365,7 +1365,7 @@ type ScatterTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1377,7 +1377,7 @@ type ScatterTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scattercarpet_gen.go b/graph_objects/scattercarpet_gen.go index bcdc9cd..97723d6 100644 --- a/graph_objects/scattercarpet_gen.go +++ b/graph_objects/scattercarpet_gen.go @@ -79,7 +79,7 @@ type Scattercarpet struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScattercarpetHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -101,7 +101,7 @@ type Scattercarpet struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -113,7 +113,7 @@ type Scattercarpet struct { // arrayOK: true // type: string // Sets hover text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -201,7 +201,7 @@ type Scattercarpet struct { // arrayOK: true // type: string // Sets text elements associated with each (a,b) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -211,7 +211,7 @@ type Scattercarpet struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScattercarpetTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -229,7 +229,7 @@ type Scattercarpet struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `a`, `b` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -285,7 +285,7 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -297,7 +297,7 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -309,7 +309,7 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -325,7 +325,7 @@ type ScattercarpetHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScattercarpetHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -337,7 +337,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -349,7 +349,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -365,7 +365,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -731,7 +731,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: true // type: color // Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -743,7 +743,7 @@ type ScattercarpetMarkerGradient struct { // default: none // type: enumerated // Sets the type of gradient used to fill the markers - Type ScattercarpetMarkerGradientType `json:"type,omitempty"` + Type interface{} `json:"type,omitempty"` // Typesrc // arrayOK: false @@ -789,7 +789,7 @@ type ScattercarpetMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -819,7 +819,7 @@ type ScattercarpetMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -865,7 +865,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -907,7 +907,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -931,7 +931,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -961,7 +961,7 @@ type ScattercarpetMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScattercarpetMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1037,7 +1037,7 @@ type ScattercarpetTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1049,7 +1049,7 @@ type ScattercarpetTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1061,7 +1061,7 @@ type ScattercarpetTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scattergeo_gen.go b/graph_objects/scattergeo_gen.go index 698f1d6..5089c46 100644 --- a/graph_objects/scattergeo_gen.go +++ b/graph_objects/scattergeo_gen.go @@ -67,7 +67,7 @@ type Scattergeo struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScattergeoHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -83,7 +83,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -95,7 +95,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -225,7 +225,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -235,7 +235,7 @@ type Scattergeo struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScattergeoTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -253,7 +253,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `lat`, `lon`, `location` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -297,7 +297,7 @@ type ScattergeoHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -309,7 +309,7 @@ type ScattergeoHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -321,7 +321,7 @@ type ScattergeoHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -337,7 +337,7 @@ type ScattergeoHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScattergeoHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -349,7 +349,7 @@ type ScattergeoHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -361,7 +361,7 @@ type ScattergeoHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -377,7 +377,7 @@ type ScattergeoHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -731,7 +731,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: true // type: color // Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -743,7 +743,7 @@ type ScattergeoMarkerGradient struct { // default: none // type: enumerated // Sets the type of gradient used to fill the markers - Type ScattergeoMarkerGradientType `json:"type,omitempty"` + Type interface{} `json:"type,omitempty"` // Typesrc // arrayOK: false @@ -789,7 +789,7 @@ type ScattergeoMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -819,7 +819,7 @@ type ScattergeoMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -865,7 +865,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -901,7 +901,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -925,7 +925,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -955,7 +955,7 @@ type ScattergeoMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScattergeoMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1031,7 +1031,7 @@ type ScattergeoTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1043,7 +1043,7 @@ type ScattergeoTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1055,7 +1055,7 @@ type ScattergeoTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scattergl_gen.go b/graph_objects/scattergl_gen.go index 8937b6f..76d2944 100644 --- a/graph_objects/scattergl_gen.go +++ b/graph_objects/scattergl_gen.go @@ -69,7 +69,7 @@ type Scattergl struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScatterglHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -85,7 +85,7 @@ type Scattergl struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -97,7 +97,7 @@ type Scattergl struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -185,7 +185,7 @@ type Scattergl struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -195,7 +195,7 @@ type Scattergl struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScatterglTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -213,7 +213,7 @@ type Scattergl struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -535,7 +535,7 @@ type ScatterglHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -547,7 +547,7 @@ type ScatterglHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -559,7 +559,7 @@ type ScatterglHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -575,7 +575,7 @@ type ScatterglHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScatterglHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -587,7 +587,7 @@ type ScatterglHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -599,7 +599,7 @@ type ScatterglHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -615,7 +615,7 @@ type ScatterglHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -1005,7 +1005,7 @@ type ScatterglMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1035,7 +1035,7 @@ type ScatterglMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -1081,7 +1081,7 @@ type ScatterglMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -1113,7 +1113,7 @@ type ScatterglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -1137,7 +1137,7 @@ type ScatterglMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -1167,7 +1167,7 @@ type ScatterglMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScatterglMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1243,7 +1243,7 @@ type ScatterglTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1255,7 +1255,7 @@ type ScatterglTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1267,7 +1267,7 @@ type ScatterglTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scattermapbox_gen.go b/graph_objects/scattermapbox_gen.go index 7b42a9a..5d43e6e 100644 --- a/graph_objects/scattermapbox_gen.go +++ b/graph_objects/scattermapbox_gen.go @@ -55,7 +55,7 @@ type Scattermapbox struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScattermapboxHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -71,7 +71,7 @@ type Scattermapbox struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -83,7 +83,7 @@ type Scattermapbox struct { // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -201,7 +201,7 @@ type Scattermapbox struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -223,7 +223,7 @@ type Scattermapbox struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `lat`, `lon` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -267,7 +267,7 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -279,7 +279,7 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -291,7 +291,7 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -307,7 +307,7 @@ type ScattermapboxHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScattermapboxHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -319,7 +319,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -331,7 +331,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -347,7 +347,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -701,7 +701,7 @@ type ScattermapboxMarker struct { // arrayOK: true // type: number // Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle. - Angle float64 `json:"angle,omitempty"` + Angle interface{} `json:"angle,omitempty"` // Anglesrc // arrayOK: false @@ -743,7 +743,7 @@ type ScattermapboxMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -771,7 +771,7 @@ type ScattermapboxMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -795,7 +795,7 @@ type ScattermapboxMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -825,7 +825,7 @@ type ScattermapboxMarker struct { // arrayOK: true // type: string // Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols. - Symbol String `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false diff --git a/graph_objects/scatterpolar_gen.go b/graph_objects/scatterpolar_gen.go index 3070557..dd35332 100644 --- a/graph_objects/scatterpolar_gen.go +++ b/graph_objects/scatterpolar_gen.go @@ -67,7 +67,7 @@ type Scatterpolar struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScatterpolarHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -89,7 +89,7 @@ type Scatterpolar struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -101,7 +101,7 @@ type Scatterpolar struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -213,7 +213,7 @@ type Scatterpolar struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -223,7 +223,7 @@ type Scatterpolar struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScatterpolarTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -241,7 +241,7 @@ type Scatterpolar struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `r`, `theta` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -309,7 +309,7 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -321,7 +321,7 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -333,7 +333,7 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -349,7 +349,7 @@ type ScatterpolarHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScatterpolarHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -361,7 +361,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -373,7 +373,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -389,7 +389,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -755,7 +755,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: true // type: color // Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -767,7 +767,7 @@ type ScatterpolarMarkerGradient struct { // default: none // type: enumerated // Sets the type of gradient used to fill the markers - Type ScatterpolarMarkerGradientType `json:"type,omitempty"` + Type interface{} `json:"type,omitempty"` // Typesrc // arrayOK: false @@ -813,7 +813,7 @@ type ScatterpolarMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -843,7 +843,7 @@ type ScatterpolarMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -889,7 +889,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -931,7 +931,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -955,7 +955,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -985,7 +985,7 @@ type ScatterpolarMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScatterpolarMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1061,7 +1061,7 @@ type ScatterpolarTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1073,7 +1073,7 @@ type ScatterpolarTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1085,7 +1085,7 @@ type ScatterpolarTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scatterpolargl_gen.go b/graph_objects/scatterpolargl_gen.go index a9e9568..e29b1dc 100644 --- a/graph_objects/scatterpolargl_gen.go +++ b/graph_objects/scatterpolargl_gen.go @@ -61,7 +61,7 @@ type Scatterpolargl struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScatterpolarglHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -77,7 +77,7 @@ type Scatterpolargl struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -89,7 +89,7 @@ type Scatterpolargl struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -201,7 +201,7 @@ type Scatterpolargl struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -211,7 +211,7 @@ type Scatterpolargl struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScatterpolarglTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -229,7 +229,7 @@ type Scatterpolargl struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `r`, `theta` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -297,7 +297,7 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -309,7 +309,7 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -321,7 +321,7 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -337,7 +337,7 @@ type ScatterpolarglHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScatterpolarglHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -349,7 +349,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -361,7 +361,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -377,7 +377,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -767,7 +767,7 @@ type ScatterpolarglMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -797,7 +797,7 @@ type ScatterpolarglMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -843,7 +843,7 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -875,7 +875,7 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -899,7 +899,7 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -929,7 +929,7 @@ type ScatterpolarglMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScatterpolarglMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1005,7 +1005,7 @@ type ScatterpolarglTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1017,7 +1017,7 @@ type ScatterpolarglTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1029,7 +1029,7 @@ type ScatterpolarglTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/scatterternary_gen.go b/graph_objects/scatterternary_gen.go index 2bd435d..94c7349 100644 --- a/graph_objects/scatterternary_gen.go +++ b/graph_objects/scatterternary_gen.go @@ -91,7 +91,7 @@ type Scatterternary struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ScatterternaryHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -113,7 +113,7 @@ type Scatterternary struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -125,7 +125,7 @@ type Scatterternary struct { // arrayOK: true // type: string // Sets hover text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b,c). To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -225,7 +225,7 @@ type Scatterternary struct { // arrayOK: true // type: string // Sets text elements associated with each (a,b,c) point. If a single string, the same string appears over all the data points. If an array of strings, the items are mapped in order to the the data points in (a,b,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textfont // role: Object @@ -235,7 +235,7 @@ type Scatterternary struct { // default: middle center // type: enumerated // Sets the positions of the `text` elements with respects to the (x,y) coordinates. - Textposition ScatterternaryTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -253,7 +253,7 @@ type Scatterternary struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `a`, `b`, `c` and `text`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -297,7 +297,7 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -309,7 +309,7 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -321,7 +321,7 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -337,7 +337,7 @@ type ScatterternaryHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ScatterternaryHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -349,7 +349,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -361,7 +361,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -377,7 +377,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -743,7 +743,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: true // type: color // Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -755,7 +755,7 @@ type ScatterternaryMarkerGradient struct { // default: none // type: enumerated // Sets the type of gradient used to fill the markers - Type ScatterternaryMarkerGradientType `json:"type,omitempty"` + Type interface{} `json:"type,omitempty"` // Typesrc // arrayOK: false @@ -801,7 +801,7 @@ type ScatterternaryMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -831,7 +831,7 @@ type ScatterternaryMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -877,7 +877,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -919,7 +919,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -943,7 +943,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -973,7 +973,7 @@ type ScatterternaryMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol ScatterternaryMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false @@ -1049,7 +1049,7 @@ type ScatterternaryTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1061,7 +1061,7 @@ type ScatterternaryTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1073,7 +1073,7 @@ type ScatterternaryTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/splom_gen.go b/graph_objects/splom_gen.go index 4a70853..aa8f6d7 100644 --- a/graph_objects/splom_gen.go +++ b/graph_objects/splom_gen.go @@ -41,7 +41,7 @@ type Splom struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo SplomHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -57,7 +57,7 @@ type Splom struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -69,7 +69,7 @@ type Splom struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -159,7 +159,7 @@ type Splom struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair to appear on hover. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -225,7 +225,7 @@ type SplomHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -237,7 +237,7 @@ type SplomHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -249,7 +249,7 @@ type SplomHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -265,7 +265,7 @@ type SplomHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align SplomHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -277,7 +277,7 @@ type SplomHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -289,7 +289,7 @@ type SplomHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -305,7 +305,7 @@ type SplomHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -667,7 +667,7 @@ type SplomMarkerLine struct { // arrayOK: true // type: color // Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -697,7 +697,7 @@ type SplomMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -743,7 +743,7 @@ type SplomMarker struct { // arrayOK: true // type: color // Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Coloraxis // arrayOK: false @@ -775,7 +775,7 @@ type SplomMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity interface{} `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false @@ -799,7 +799,7 @@ type SplomMarker struct { // arrayOK: true // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizemin // arrayOK: false @@ -829,7 +829,7 @@ type SplomMarker struct { // default: circle // type: enumerated // Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name. - Symbol SplomMarkerSymbol `json:"symbol,omitempty"` + Symbol interface{} `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false diff --git a/graph_objects/streamtube_gen.go b/graph_objects/streamtube_gen.go index a10686d..3ec52f3 100644 --- a/graph_objects/streamtube_gen.go +++ b/graph_objects/streamtube_gen.go @@ -77,7 +77,7 @@ type Streamtube struct { // default: x+y+z+norm+text+name // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo StreamtubeHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -93,7 +93,7 @@ type Streamtube struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `tubex`, `tubey`, `tubez`, `tubeu`, `tubev`, `tubew`, `norm` and `divergence`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -621,7 +621,7 @@ type StreamtubeHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -633,7 +633,7 @@ type StreamtubeHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -645,7 +645,7 @@ type StreamtubeHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -661,7 +661,7 @@ type StreamtubeHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align StreamtubeHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -673,7 +673,7 @@ type StreamtubeHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -685,7 +685,7 @@ type StreamtubeHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -701,7 +701,7 @@ type StreamtubeHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/sunburst_gen.go b/graph_objects/sunburst_gen.go index 3bf6b0c..b18f2de 100644 --- a/graph_objects/sunburst_gen.go +++ b/graph_objects/sunburst_gen.go @@ -47,7 +47,7 @@ type Sunburst struct { // default: label+text+value+name // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo SunburstHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -63,7 +63,7 @@ type Sunburst struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -75,7 +75,7 @@ type Sunburst struct { // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -223,7 +223,7 @@ type Sunburst struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -303,7 +303,7 @@ type SunburstHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -315,7 +315,7 @@ type SunburstHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -327,7 +327,7 @@ type SunburstHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -343,7 +343,7 @@ type SunburstHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align SunburstHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -355,7 +355,7 @@ type SunburstHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -367,7 +367,7 @@ type SunburstHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -383,7 +383,7 @@ type SunburstHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -399,7 +399,7 @@ type SunburstInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -411,7 +411,7 @@ type SunburstInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -423,7 +423,7 @@ type SunburstInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -765,7 +765,7 @@ type SunburstMarkerLine struct { // arrayOK: true // type: color // Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -777,7 +777,7 @@ type SunburstMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -871,7 +871,7 @@ type SunburstOutsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -883,7 +883,7 @@ type SunburstOutsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -895,7 +895,7 @@ type SunburstOutsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -937,7 +937,7 @@ type SunburstTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -949,7 +949,7 @@ type SunburstTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -961,7 +961,7 @@ type SunburstTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/surface_gen.go b/graph_objects/surface_gen.go index d5fdfbe..6e69858 100644 --- a/graph_objects/surface_gen.go +++ b/graph_objects/surface_gen.go @@ -93,7 +93,7 @@ type Surface struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo SurfaceHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -109,7 +109,7 @@ type Surface struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -121,7 +121,7 @@ type Surface struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -229,7 +229,7 @@ type Surface struct { // arrayOK: true // type: string // Sets the text elements associated with each z value. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -919,7 +919,7 @@ type SurfaceHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -931,7 +931,7 @@ type SurfaceHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -943,7 +943,7 @@ type SurfaceHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -959,7 +959,7 @@ type SurfaceHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align SurfaceHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -971,7 +971,7 @@ type SurfaceHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -983,7 +983,7 @@ type SurfaceHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -999,7 +999,7 @@ type SurfaceHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/table_gen.go b/graph_objects/table_gen.go index c7074d5..5cf6b28 100644 --- a/graph_objects/table_gen.go +++ b/graph_objects/table_gen.go @@ -35,7 +35,7 @@ type Table struct { // arrayOK: true // type: number // The width of columns expressed as a ratio. Columns fill the available width in proportion of their specified column widths. - Columnwidth float64 `json:"columnwidth,omitempty"` + Columnwidth interface{} `json:"columnwidth,omitempty"` // Columnwidthsrc // arrayOK: false @@ -67,7 +67,7 @@ type Table struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo TableHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -139,7 +139,7 @@ type TableCellsFill struct { // arrayOK: true // type: color // Sets the cell fill color. It accepts either a specific color or an array of colors or a 2D array of colors. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -155,7 +155,7 @@ type TableCellsFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -167,7 +167,7 @@ type TableCellsFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -179,7 +179,7 @@ type TableCellsFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -195,7 +195,7 @@ type TableCellsLine struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -207,7 +207,7 @@ type TableCellsLine struct { // arrayOK: true // type: number // - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -223,7 +223,7 @@ type TableCells struct { // default: center // type: enumerated // Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. - Align TableCellsAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -265,7 +265,7 @@ type TableCells struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix String `json:"prefix,omitempty"` + Prefix interface{} `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false @@ -277,7 +277,7 @@ type TableCells struct { // arrayOK: true // type: string // Suffix for cell values. - Suffix String `json:"suffix,omitempty"` + Suffix interface{} `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false @@ -333,7 +333,7 @@ type TableHeaderFill struct { // arrayOK: true // type: color // Sets the cell fill color. It accepts either a specific color or an array of colors or a 2D array of colors. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -349,7 +349,7 @@ type TableHeaderFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -361,7 +361,7 @@ type TableHeaderFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -373,7 +373,7 @@ type TableHeaderFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -389,7 +389,7 @@ type TableHeaderLine struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -401,7 +401,7 @@ type TableHeaderLine struct { // arrayOK: true // type: number // - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -417,7 +417,7 @@ type TableHeader struct { // default: center // type: enumerated // Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. - Align TableHeaderAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -459,7 +459,7 @@ type TableHeader struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix String `json:"prefix,omitempty"` + Prefix interface{} `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false @@ -471,7 +471,7 @@ type TableHeader struct { // arrayOK: true // type: string // Suffix for cell values. - Suffix String `json:"suffix,omitempty"` + Suffix interface{} `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false @@ -499,7 +499,7 @@ type TableHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -511,7 +511,7 @@ type TableHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -523,7 +523,7 @@ type TableHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -539,7 +539,7 @@ type TableHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align TableHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -551,7 +551,7 @@ type TableHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -563,7 +563,7 @@ type TableHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -579,7 +579,7 @@ type TableHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/treemap_gen.go b/graph_objects/treemap_gen.go index 0bb8e72..ee927cd 100644 --- a/graph_objects/treemap_gen.go +++ b/graph_objects/treemap_gen.go @@ -47,7 +47,7 @@ type Treemap struct { // default: label+text+value+name // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo TreemapHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -63,7 +63,7 @@ type Treemap struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -75,7 +75,7 @@ type Treemap struct { // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -217,7 +217,7 @@ type Treemap struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -301,7 +301,7 @@ type TreemapHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -313,7 +313,7 @@ type TreemapHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -325,7 +325,7 @@ type TreemapHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -341,7 +341,7 @@ type TreemapHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align TreemapHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -353,7 +353,7 @@ type TreemapHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -365,7 +365,7 @@ type TreemapHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -381,7 +381,7 @@ type TreemapHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -397,7 +397,7 @@ type TreemapInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -409,7 +409,7 @@ type TreemapInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -421,7 +421,7 @@ type TreemapInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -753,7 +753,7 @@ type TreemapMarkerLine struct { // arrayOK: true // type: color // Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -765,7 +765,7 @@ type TreemapMarkerLine struct { // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -897,7 +897,7 @@ type TreemapOutsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -909,7 +909,7 @@ type TreemapOutsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -921,7 +921,7 @@ type TreemapOutsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -937,7 +937,7 @@ type TreemapPathbarTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -949,7 +949,7 @@ type TreemapPathbarTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -961,7 +961,7 @@ type TreemapPathbarTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -1035,7 +1035,7 @@ type TreemapTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -1047,7 +1047,7 @@ type TreemapTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -1059,7 +1059,7 @@ type TreemapTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false diff --git a/graph_objects/violin_gen.go b/graph_objects/violin_gen.go index 47f1f45..3c0ffd0 100644 --- a/graph_objects/violin_gen.go +++ b/graph_objects/violin_gen.go @@ -53,7 +53,7 @@ type Violin struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo ViolinHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -75,7 +75,7 @@ type Violin struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -87,7 +87,7 @@ type Violin struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -233,7 +233,7 @@ type Violin struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -373,7 +373,7 @@ type ViolinHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -385,7 +385,7 @@ type ViolinHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -397,7 +397,7 @@ type ViolinHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -413,7 +413,7 @@ type ViolinHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align ViolinHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -425,7 +425,7 @@ type ViolinHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -437,7 +437,7 @@ type ViolinHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -453,7 +453,7 @@ type ViolinHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/volume_gen.go b/graph_objects/volume_gen.go index 248102f..8ff83cf 100644 --- a/graph_objects/volume_gen.go +++ b/graph_objects/volume_gen.go @@ -91,7 +91,7 @@ type Volume struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo VolumeHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -107,7 +107,7 @@ type Volume struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -119,7 +119,7 @@ type Volume struct { // arrayOK: true // type: string // Same as `text`. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -239,7 +239,7 @@ type Volume struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textsrc // arrayOK: false @@ -723,7 +723,7 @@ type VolumeHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -735,7 +735,7 @@ type VolumeHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -747,7 +747,7 @@ type VolumeHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -763,7 +763,7 @@ type VolumeHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align VolumeHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -775,7 +775,7 @@ type VolumeHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -787,7 +787,7 @@ type VolumeHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -803,7 +803,7 @@ type VolumeHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false diff --git a/graph_objects/waterfall_gen.go b/graph_objects/waterfall_gen.go index 692bbbc..d414b22 100644 --- a/graph_objects/waterfall_gen.go +++ b/graph_objects/waterfall_gen.go @@ -75,7 +75,7 @@ type Waterfall struct { // default: all // type: flaglist // Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired. - Hoverinfo WaterfallHoverinfo `json:"hoverinfo,omitempty"` + Hoverinfo interface{} `json:"hoverinfo,omitempty"` // Hoverinfosrc // arrayOK: false @@ -91,7 +91,7 @@ type Waterfall struct { // arrayOK: true // type: string // Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `initial`, `delta` and `final`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate String `json:"hovertemplate,omitempty"` + Hovertemplate interface{} `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false @@ -103,7 +103,7 @@ type Waterfall struct { // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext String `json:"hovertext,omitempty"` + Hovertext interface{} `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false @@ -177,7 +177,7 @@ type Waterfall struct { // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset float64 `json:"offset,omitempty"` + Offset interface{} `json:"offset,omitempty"` // Offsetgroup // arrayOK: false @@ -227,7 +227,7 @@ type Waterfall struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text String `json:"text,omitempty"` + Text interface{} `json:"text,omitempty"` // Textangle // arrayOK: false @@ -249,7 +249,7 @@ type Waterfall struct { // default: none // type: enumerated // Specifies the location of the `text`. *inside* positions `text` inside, next to the bar end (rotated and scaled if needed). *outside* positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed inside. *auto* tries to position `text` inside the bar, but if the bar is too small and no bar is stacked on this one the text is moved outside. - Textposition WaterfallTextposition `json:"textposition,omitempty"` + Textposition interface{} `json:"textposition,omitempty"` // Textpositionsrc // arrayOK: false @@ -267,7 +267,7 @@ type Waterfall struct { // arrayOK: true // type: string // Template string used for rendering the information text that appear on points. Note that this will override `textinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format#locale_format for details on the date formatting syntax. Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `initial`, `delta`, `final` and `label`. - Texttemplate String `json:"texttemplate,omitempty"` + Texttemplate interface{} `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false @@ -307,7 +307,7 @@ type Waterfall struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width float64 `json:"width,omitempty"` + Width interface{} `json:"width,omitempty"` // Widthsrc // arrayOK: false @@ -487,7 +487,7 @@ type WaterfallHoverlabelFont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -499,7 +499,7 @@ type WaterfallHoverlabelFont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -511,7 +511,7 @@ type WaterfallHoverlabelFont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -527,7 +527,7 @@ type WaterfallHoverlabel struct { // default: auto // type: enumerated // Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines - Align WaterfallHoverlabelAlign `json:"align,omitempty"` + Align interface{} `json:"align,omitempty"` // Alignsrc // arrayOK: false @@ -539,7 +539,7 @@ type WaterfallHoverlabel struct { // arrayOK: true // type: color // Sets the background color of the hover labels for this trace - Bgcolor Color `json:"bgcolor,omitempty"` + Bgcolor interface{} `json:"bgcolor,omitempty"` // Bgcolorsrc // arrayOK: false @@ -551,7 +551,7 @@ type WaterfallHoverlabel struct { // arrayOK: true // type: color // Sets the border color of the hover labels for this trace. - Bordercolor Color `json:"bordercolor,omitempty"` + Bordercolor interface{} `json:"bordercolor,omitempty"` // Bordercolorsrc // arrayOK: false @@ -567,7 +567,7 @@ type WaterfallHoverlabel struct { // arrayOK: true // type: integer // Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. - Namelength int64 `json:"namelength,omitempty"` + Namelength interface{} `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false @@ -621,7 +621,7 @@ type WaterfallInsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -633,7 +633,7 @@ type WaterfallInsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -645,7 +645,7 @@ type WaterfallInsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -661,7 +661,7 @@ type WaterfallOutsidetextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -673,7 +673,7 @@ type WaterfallOutsidetextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -685,7 +685,7 @@ type WaterfallOutsidetextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false @@ -717,7 +717,7 @@ type WaterfallTextfont struct { // arrayOK: true // type: color // - Color Color `json:"color,omitempty"` + Color interface{} `json:"color,omitempty"` // Colorsrc // arrayOK: false @@ -729,7 +729,7 @@ type WaterfallTextfont struct { // arrayOK: true // type: string // HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*. - Family String `json:"family,omitempty"` + Family interface{} `json:"family,omitempty"` // Familysrc // arrayOK: false @@ -741,7 +741,7 @@ type WaterfallTextfont struct { // arrayOK: true // type: number // - Size float64 `json:"size,omitempty"` + Size interface{} `json:"size,omitempty"` // Sizesrc // arrayOK: false