Skip to main content

Argument Axis

A property used to set chart's argument axis in a workspace.

The argumentAxis object, configures the argument axis individually.

By default, the argument axis will show just text, but by using the properties label, format, type and entity it can show a image.

{
argumentAxis: {
label: {
format: {
type: "image",
entity: "user",
mapping: {
id: "Oid",
name: "LoginName",
hasImage: "HasImage"
}
}
}
}
}

entity

To choose which of the entities mentioned below will be represented.

Accepted Values: 'client' | 'company' | 'user'

{
entity: "user";
}

Required on data source:

  • Id
  • Name
  • HasImage

mapping

If the data source doesn't match the mapping to the default fields, it can be mapped by using the mapping property:

{
entity: "user",
format: {
mapping: {
id: "UserId",
name: "UserName",
hasImage: "UserHasImage"
}
}
}

Properties defined in the chart configuration

img-box-shadow

Chart argument axis UI

img-box-shadow