I assume that you are putting a number from the potentiometer onto the dashboard. The code below is an example for when the potentiometer is connected to port 0
Code:
AnalogPotentiometer pot = new AnalogPotentiometer(0, 360, 30);
SmartDashboard.putNumber("Potentiometer Value", pot.get());
For more reference: