Skip to main content
edited body
Source Link
Bera
  • 77.9k
  • 14
  • 78
  • 188

Use a label expression with pythonPython parser. Just replaceReplace º with whatever charcharacter you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['●' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

Use a label expression with python parser. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['●' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

Use a label expression with Python parser. Replace º with whatever character you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['●' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

added 346 characters in body
Source Link
Bera
  • 77.9k
  • 14
  • 78
  • 188

You can try code belowUse a label expression with python parser. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['º'['●' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description hereenter image description here

You can try code below. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['º' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

Use a label expression with python parser. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['●' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

added 346 characters in body
Source Link
Bera
  • 77.9k
  • 14
  • 78
  • 188

You can try code below. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['º' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

You can try code below. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

You can try code below. Just replace º with whatever char you want to use:

def FindLabel ([X]):
  s = int([X])
  label = ''.join(['º' for i in range(s)])
  return label

enter image description here

To get a line break every fifth charachter try:

def FindLabel ( [X]  ):
  s = int([X])
  label = ['º' for i in range(s)]
  i = 5
  while i < len(label):
    label.insert(i, "\r\n")
    i += 6
  return ''.join(label)

enter image description here

Source Link
Bera
  • 77.9k
  • 14
  • 78
  • 188
Loading