• D3.js

    From Sprite@VERT/TINTETBB to All on Sat Dec 26 18:19:08 2020
    Is anybody here familiar with or even good at the D3.js graphing libraryãfor JavaScript?ãã---ã þ Synchronet þ Tinfoil Tetrahedron BBS - skulking seedily against the Brave New Worldã
  • From Tracker1@VERT/TRN to Sprite on Sun Dec 27 01:05:54 2020
    On 12/26/2020 5:19 PM, Sprite wrote:
    Is anybody here familiar with or even good at the D3.js graphing library
    for JavaScript?
    Familiar with it, not necessarily good. What are you trying to do?

    --
    Michael J. Ryan
    tracker1 +o Roughneck BBS
    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
  • From Sprite@VERT/TINTETBB to Tracker1 on Sun Dec 27 07:59:30 2020
    Re: Re: D3.jsã By: Tracker1 to Sprite on Sun Dec 27 2020 01:05:54ãã > > Is anybody here familiar with or even good at the D3.js graphing libraryã > > for JavaScript?ã > Familiar with it, not necessarily good. What are you trying to do?ãã Oh hallelujah. I thought it was a long shot that anybody here would beãfamiliar, but I am very glad you responded. Hopefully you've come acrossãthe issue that I've had before here, or at least know of some betterãdocumentation sites than what I've found sofar.ã I have an application that's monitoring blood plasma levels of a substance,ãand I just recently switched its graphing from showing the daily plasmaãconcentration to an hourly concentration (over a 30 day period). Thus, myãformerly 'chunky' graph now looks like the following:ãhttps://imgur.com/a/H818rwO . Unfortunately, the x-axis is now completelyãobliterated with the 'ticks'.ã I can't remember everything that I've tried to get the x-axis to only showãticks/labels on every 24th one (ie one for each of the 30 days graphed), but Iãknow .ticks() isn't doing any good, nor are any of the other relatedã.tick*() methods that I've attempted to use to this point. I've triedã'manually' setting the ticks that I don't want to show to 'null', an emptyãstring, and the like, but when I do that it goes back to the 'chunky' graph,ãonly showing every bar that still has a 'proper' x-axis tick label.ã I've seen examples like the following, so I know that this can be done:ãhttps://www.tutorialspoint.com/d3js/d3js_graphs.htm , I just can't figure outãhow on Earth to do it. :P Oh I tried .tickValues() specified manually, asãwell, and that didn't work, either. :(ã I'd be very grateful for anything that you might be able to offer onãthis issue; I've been banging my head against the cinderblocks for awhile onãthis now. And hey, even if you can't help, I appreciate the response. :)ã Take care!ãã---ã þ Synchronet þ Tinfoil Tetrahedron BBS - skulking seedily against the Brave New Worldã
  • From Sprite@VERT/TINTETBB to Tracker1 on Sun Dec 27 09:01:00 2020
    Re: Re: D3.jsã By: Sprite to Tracker1 on Sun Dec 27 2020 07:59:30ãã My apologies, my example for a page with what I wanted to accomplish wasãnot correct, as there was only data for each of the ticks at the x-axis. Theãgraph here: https://www.d3-graph-gallery.com/graph/line_several_group.htmlãshows graphs with data between x-axis ticks, as per what I want to accomplish. ãNot sure how to do that with an ordinal x-axis scale, though, and I don't knowãhow to change my (admittedly mostly cut 'n pasted) graph code to use a linearãscale on that axis, either. :(ãã---ã þ Synchronet þ Tinfoil Tetrahedron BBS - skulking seedily against the Brave New Worldã