With 1 x Lm3914.
Your 10 rows all commoned to the Lm3914, the cathodes for the coumns then go to a 1 of 16 decoder wired as a 1 of 10, the decoder scans the columns, the decoder being controlled by a binary counter / oscillator, the o/p of the binary counter as well as going to the 1 of 16 also goes to an R - 2R ladder / low pass filter, this generates your X sine wave, a pure sineave isnt that important.
Then this goes through an op amp etc to the device under test, the return going to the imput of the Lm3914, the display sacns horizontally and simulatneously genertaes the sinewave, which is then displayed via the Dut.
Not bad for a quick think on xmas day while in my new massage chair.
Of course a much quicker better way would be to program an arduino or something.