Giter Site home page Giter Site logo

RTL support ? about apexcharts.js HOT 9 CLOSED

mhf-ir avatar mhf-ir commented on April 30, 2024 5
RTL support ?

from apexcharts.js.

Comments (9)

junedchhipa avatar junedchhipa commented on April 30, 2024 3

I tested with arabic text making the y-axis on the opposite side and here is the result.
screen shot 2018-08-27 at 10 51 50 pm

Here is the codepen link for the same

The tooltip still reads LTR but that can be tweaked with css.

from apexcharts.js.

mhf-ir avatar mhf-ir commented on April 30, 2024 2

Thank you for fast response 👍

Actually it's not rtl, just the translation. RTL text is CSS/HTML property.
See example: https://codepen.io/anon/pen/yxOZzr

from apexcharts.js.

SamiAziz avatar SamiAziz commented on April 30, 2024 1

I think you can solve RTL issue temporary if not supported by using (Reversed Bar Chart).

and make sure add formatter :
formatter: function(val, opt) { return opt.w.globals.labels[opt.dataPointIndex] + ': ' + val }

the result:
image

from apexcharts.js.

junedchhipa avatar junedchhipa commented on April 30, 2024

Thank you for enlightening me, I tested the dir="rtl" attribute on chart element and the tooltip got corrected. But the title text and legends got misaligned.

Here is what I got
screen shot 2018-08-27 at 11 44 18 pm

Looks messed up!
I haven't taken this into consideration in the beginning but will think about how this can be supported.

from apexcharts.js.

fakhamatia avatar fakhamatia commented on April 30, 2024

Any update for RTL support?

from apexcharts.js.

HaniGerges avatar HaniGerges commented on April 30, 2024

Any update for RTL support?

+1

from apexcharts.js.

davidv171 avatar davidv171 commented on April 30, 2024

Was this ever added? I'm using a timeline chart (Multiple series – Group rows) , it's still oriented left to right, but what did happen is that the hover value stopped showing up. Something like reverse X axis would help for those types of charts.

from apexcharts.js.

nofalx avatar nofalx commented on April 30, 2024

This issue is still not resolved

from apexcharts.js.

YitshakS avatar YitshakS commented on April 30, 2024

I will also appreciate for fixing this issue.

from apexcharts.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.