Search:

Type: Posts; User: Mike Peat

Page 1 of 59 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How to Show more than one Google Chart in a View?

    Michael

    Re: "the callback is not needed and cannot be registered multiple times"... it seems to be the way Google says to do it: from...
  2. Re: How to Show more than one Google Chart in a View?

    An alternative approach would be to define the callback in-line as an anonymous function:



    drawChart : function() {
    var obj = this;

    ...
  3. Re: How to Show more than one Google Chart in a View?

    Actually it turns out to not be so hard:



    // ...

    drawChart : function() {
    google.charts.setOnLoadCallback(this.chartDef(this));
    },
  4. Re: How to Show more than one Google Chart in a View?

    Michael

    Yes, I pretty much agree. I'll keep trying to get your approach to work.

    Mike
  5. Re: How to Show more than one Google Chart in a View?

    OK, think I have it working now... (but we'll no doubt see ;))

    javaScript Chart.js:


    if (!myCharts) { // Configure namespace if not already defined
    var myCharts = {};
    }
    ...
  6. Re: How to Show more than one Google Chart in a View?

    Michael

    I am aware of those (I just had't thought of doing it that way).

    Sadly the fix does not work as-is, because invoking the callback in the "scope" of the object (i.e. where "this" points...
  7. Re: How to Show more than one Google Chart in a View?

    Actually looking at your suggestion answers my question.

    Thanks! :)

    Mike
  8. Re: How to Show more than one Google Chart in a View?

    Michael

    Yes, you have correctly identified the problem (it was a quick-n-dirty hack... that it seems I now have to live with). I have a version that does it differently, but am having issues with...
  9. Re: How to Show more than one Google Chart in a View?

    I'm working on it... :)

    Mike
  10. Re: How to Show more than one Google Chart in a View?

    William

    Just a quick suggestion (I have still not looked at your code) - try setting psHtmlId to something different ("MyChart1", "MyChart2", etc.) in each of the chart objects. I don't think it...
  11. Re: How to Show more than one Google Chart in a View?

    That's not to say you couldn't have a stab on your own - it can't hurt to try.

    Mike
  12. Re: How to Show more than one Google Chart in a View?

    :)

    Dunno mate. Watch this space, but seriously don't hold your breath, 'coz turning blue is usually considered bad.

    Mike
  13. Re: How to Show more than one Google Chart in a View?

    William

    Are you aware that Google Charts supports Dashboards? See: https://developers.google.com/chart/interactive/docs/gallery/controls.

    Mike
  14. Replies
    13
    Views
    393

    Re: DataFlex 2020

    Moot point - what if they release Covid 19.1? ;)
  15. Thread: Mysql-df19.1

    by Mike Peat
    Replies
    10
    Views
    271

    Re: Mysql-df19.1

    Within the ODBC 32-bit administrator, he had installed the 64-bit MySQL driver.

    Mike
  16. Replies
    8
    Views
    464

    Re: oAuth2 and Web Application

    OK, I've been staring at this for a while. I am not clear whether you are requesting an initial access token or a refresh token.

    I personally don't much like SFormat - I prefer to build up my...
  17. Re: Looks like CONNID values are case sensitive now.

    It was a currency mask.
  18. Replies
    5
    Views
    272

    Re: How to cope with zIndex

    OK, spotted the problem, I think - see changes to the solution in the 2nd post above.

    Mike
  19. Replies
    5
    Views
    272

    Re: How to cope with zIndex

    Hmm... testing further indicates that I might have to do a bit more to make this work properly - watch this space.

    Mike
  20. Replies
    7
    Views
    283

    Re: Picture of Flex Keys

    When I am allowed out of the house again (say sometime in 2025), I might search some drawers in the office to see if it is still around... (not likely - my last memory of it is about four offices...
  21. Replies
    7
    Views
    283

    Re: Picture of Flex Keys

    Sure I used to have these on a mouse-mat...
  22. Replies
    5
    Views
    272

    Re: How to cope with zIndex

    OK Guys

    To restate the context of this, the issue is that while the mapping object(s) I had built were working well in themselves, the "Leaflet" library I was using for them built its various...
  23. Replies
    15
    Views
    232

    Re: String used as integer error

    Jim

    iDSO is the "data_set" (actually it will almost certainly be a DD in this day and age) object associated with the file number passed in iFile, while iField is the field number within that file...
  24. Replies
    15
    Views
    232

    Re: String used as integer error

    +:confused: - I can't see what you think is wrong Jim. Yes, the iDSO should really be a handle and be called hDSO or hoDSO, but that's not important. You appear to be saying that the default value...
  25. Replies
    5
    Views
    168

    Re: DataFlex on GitHub

    Yup, Pascal is closest, IMO. DataFlex used to be written in Pascal (pre 2.3, I think).

    Mike
Results 1 to 25 of 1464
Page 1 of 59 1 2 3 4