If the wheel size differs from the original bike the speedo came from it will not read correctly.
Also You will need the sensors and electrical patch circuits from the donor bike.
Aftermarket ones have a calibration function to allow for differing wheel & tire sizes (Circumference).