schema property
Implementation
static final schema = {
r'$schema': 'http://json-schema.org/draft-06/schema#',
r'$id': '$id',
r'$comment':
'https://pub.dev/documentation/charts_common/latest/common/AxisSpec-class.html',
'title': 'AxisSpec',
'type': 'object',
'additionalProperties': true,
'properties': {
'renderSpec': SchemaHelper.objectSchema(RenderSpecSchema.id),
'scaleSpec': SchemaHelper.stringSchema,
'showAxisLine': SchemaHelper.boolSchema,
'tickFormatterSpec': SchemaHelper.stringSchema,
'tickProviderSpec': SchemaHelper.stringSchema,
'type': {
'type': 'string',
'enum': [
'bucketing',
'date_time',
'end_points_time',
'numeric',
'ordinal',
'percent',
],
},
},
};