RTL issues (mainly with tooltips)

644 views
Skip to first unread message

Ben Yitzhaki

unread,
Feb 6, 2013, 4:21:48 AM2/6/13
to google-visua...@googlegroups.com
My pages direction is RTL, however, when i display the chart, the text is displayed as LTR (mostly noticeable in the tooltips.. the text align is to the left, the direction seems to be ltr..).
how can i fix this? does google charts support RTL pages?

Mitchell Foley

unread,
Feb 6, 2013, 4:20:15 PM2/6/13
to google-visualization-api
Hi Ben,

Unfortunately, we do not yet support RTL pages. We plan to add support for this in the near future, so keep an eye out.

-Mitch


On Wed, Feb 6, 2013 at 4:21 AM, Ben Yitzhaki <ben.yi...@gmail.com> wrote:
My pages direction is RTL, however, when i display the chart, the text is displayed as LTR (mostly noticeable in the tooltips.. the text align is to the left, the direction seems to be ltr..).
how can i fix this? does google charts support RTL pages?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

בן יצחקי

unread,
Feb 7, 2013, 12:17:30 AM2/7/13
to google-visua...@googlegroups.com

Is there any trick or modification that I could do in order to make a partial support? At least for the tool tips...

asgallant

unread,
Feb 7, 2013, 12:24:58 AM2/7/13
to google-visua...@googlegroups.com
Some of the charts support custom HTML tooltips; on the ones that do, you should be able to specify text direction.


On Thursday, February 7, 2013 12:17:30 AM UTC-5, Ben Yitzhaki wrote:

Is there any trick or modification that I could do in order to make a partial support? At least for the tool tips...

On Feb 6, 2013 11:20 PM, "Mitchell Foley" <mitch...@google.com> wrote:
Hi Ben,

Unfortunately, we do not yet support RTL pages. We plan to add support for this in the near future, so keep an eye out.

-Mitch
On Wed, Feb 6, 2013 at 4:21 AM, Ben Yitzhaki <ben.yi...@gmail.com> wrote:
My pages direction is RTL, however, when i display the chart, the text is displayed as LTR (mostly noticeable in the tooltips.. the text align is to the left, the direction seems to be ltr..).
how can i fix this? does google charts support RTL pages?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

בן יצחקי

unread,
Feb 7, 2013, 12:52:11 AM2/7/13
to google-visua...@googlegroups.com

Hi thanks! One last question in the same topic. The docs declares with bold texting that using HTML tool tips may cause xss exploits... How come? It doesn't sound any how dangerous...

To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

asgallant

unread,
Feb 7, 2013, 1:14:12 AM2/7/13
to google-visua...@googlegroups.com
That mainly applies to developers who are building visualizations with user-generated content.  If the tooltip contains user-generated content, then a malicious user could inject a <script> tag into the HTML and run malicious code through it, so you have to properly escape the content so that you don't expose your users to potential threats.  If you don't have any user-generated content, then you don't need to worry about it.

On Thursday, February 7, 2013 12:52:11 AM UTC-5, Ben Yitzhaki wrote:

Hi thanks! One last question in the same topic. The docs declares with bold texting that using HTML tool tips may cause xss exploits... How come? It doesn't sound any how dangerous...

On Feb 7, 2013 7:25 AM, "asgallant" <drew_g...@abtassoc.com> wrote:
Some of the charts support custom HTML tooltips; on the ones that do, you should be able to specify text direction.

On Thursday, February 7, 2013 12:17:30 AM UTC-5, Ben Yitzhaki wrote:

Is there any trick or modification that I could do in order to make a partial support? At least for the tool tips...

On Feb 6, 2013 11:20 PM, "Mitchell Foley" <mitch...@google.com> wrote:
Hi Ben,

Unfortunately, we do not yet support RTL pages. We plan to add support for this in the near future, so keep an eye out.

-Mitch
On Wed, Feb 6, 2013 at 4:21 AM, Ben Yitzhaki <ben.yi...@gmail.com> wrote:
My pages direction is RTL, however, when i display the chart, the text is displayed as LTR (mostly noticeable in the tooltips.. the text align is to the left, the direction seems to be ltr..).
how can i fix this? does google charts support RTL pages?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages