Re: imagegraphics deprecated

34 views
Skip to first unread message

asgallant

unread,
Sep 17, 2012, 4:58:52 PM9/17/12
to google-visua...@googlegroups.com
You can use LaTeX in some visualizations (pretty much anywhere you are allowed to have HTML, here's an example: http://jsfiddle.net/asgallant/3SeEe/).  You can't add it to a chart area (as, for example, a label for a line) or anywhere else where HTML is not allowed.  You could put the equation in a standard HTML div and use CSS to position the div over the chart, though.

None of this is enabled by the Visualization API - you have to use 3rd party tools to render the LaTeX (my example uses Mathjax).

On Monday, September 17, 2012 2:25:35 PM UTC-4, Alexandre ashade lassance cunha wrote:
I used to use the chart api for creation o images from latex format, like this:  http://chart.apis.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chco=AACCFF&chl=i\hbar\frac{\partial}{\partial t} \Psi(\mathbf{r},\,t) = \hat H \Psi(\mathbf{r},t)

But now it is deprecated. The new svg api support math annotation in latex format? If not, what are the guidelines for writing math symbols using chart api?
Reply all
Reply to author
Forward
0 new messages