Forum Replies Created by smithfx

Viewing 4 posts - 1 through 4 (of 4 total)
  • in reply to: Show legend text in a specific order #27011

    Hi Shashi,

    Thanks for the reply. I cannot rearrange the order, that is the problem.

    Climb profile

    Because the chart is showing by distance and the first slope is between 3 and 6%, and the next slope is 3%, I cannot just rearrange things because the mountain isn’t built that way (I wish it was so simple).

    I guess the only way is to construct a custom legend outside the chart.

    in reply to: Minimum Y label width #26499

    Vishwas,

    Thanks for the info. Didn’t see that in the docs. Worked like a charm.

    Cheers,

    Matt.

    in reply to: Manipulating axis cross hair from JS #25072

    Manoj,

    Thanks for the reply. I was able to get everything working the way I hoped.

    I was really stumped on the synchronize sample for the MouseEvent. I was finally able to figure it out and suggest you change the sample code for the createEvent method. You can change it to this:

    function createEvent(type, clientX, clientY)
    {
    var event = new MouseEvent(type, {
    bubbles: false,
    cancelable: true,
    clientX: clientX,
    clientY: clientY
    });
    return event;
    }

    The extra properties you have in the options aren’t needed. In fact, there is no way to be able to translate the client x or y to a screen x or y. That was the area that had me stumped for a couple of hours yesterday. It wasn’t until I decided to try removing the screenX and screenY parameters that I was able to get around the issue.

    in reply to: Highlight area of chart #25071

    Vishwas,

    Thanks the reply. I didn’t see that option or didn’t make the connection.

    This will do quite nicely.

    Matt.

Viewing 4 posts - 1 through 4 (of 4 total)