Code Monkey home page Code Monkey logo

Comments (8)

derezka avatar derezka commented on July 18, 2024 3

Hi guys. I have the same problem, as a temporary measure I found that block of code:
if (left_offset < label_shift_with_label_width && right_offset < label_shift_with_label_width) {
label_x = data.center_x;
}
and replaced it for:
if (left_offset < label_shift_with_label_width && right_offset < label_shift_with_label_width) {
if ( left_offset> right_offset){
label_x = 20;} else {label_x = data.center_x + label_hor_offset}
}
I have the same check for "lablel_y" if you need

from enjoyhint.

derezka avatar derezka commented on July 18, 2024 1

from enjoyhint.

blackazaru avatar blackazaru commented on July 18, 2024

Hi, thank you.
We will check it and fix it as soon as possible.

from enjoyhint.

romangonzalez87 avatar romangonzalez87 commented on July 18, 2024

Hi,
I have the same problem. To try to temporarily fix ... is there any way to hide the arrows?

Thanks

from enjoyhint.

a77icu5 avatar a77icu5 commented on July 18, 2024

Same problem here, the path starts at the wrong position.

from enjoyhint.

tropotek avatar tropotek commented on July 18, 2024

Hi,
I have the same problem. To try to temporarily fix ... is there any way to hide the arrows?

Thanks

  onBeforeStart : function () {
    // Hide the arrow
    $('#enjoyhint_arrpw_line').hide();
  }

from enjoyhint.

Mthew avatar Mthew commented on July 18, 2024

Hi guys. I have the same problem, in the renderArrow function add that new block of code:
if (Math.abs(data.x_from - data.x_to) <= 50 && Math.abs(data.y_from - data.y_to) <= 50) { if(data.x_from < data.x_to){ data.x_from += 100; } else { data.x_to += 100; } }
itΒ΄s work for me.

from enjoyhint.

snehagxp avatar snehagxp commented on July 18, 2024

Even on mobile screens it's not proper

from enjoyhint.

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.