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'
- User
- Client
- Company
{
entity: "user";
}
Required on data source:
- Id
- Name
- HasImage
{
entity: "client";
}
Required on data source:
- Id
- Name
- HasImage
{
entity: "company";
}
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"
}
}
}