private void drawMark(Graphics g)
		{
			if (showMark)
			{
				int mark = valueToPixel(markedPoint) - valueToPixel(currentMinValue);
				
				switch (orientation)
				{
					case HORIZONTAL:
						g.setColor(Color.black);
						g.fillRect(mark-2,getHeight()/2-5,4,10);
						g.setColor(Color.white);
						g.drawRect(mark-2,getHeight()/2-5,4,10);
						break;
					case VERTICAL:
						g.setColor(Color.black);
						g.fillRect(getWidth()/2-5,mark-2,10,4);
						g.setColor(Color.white);
						g.drawRect(getWidth()/2-5,mark-2,10,4);
						break;
				}
			}
		}