to_proto#

ChartDefinition.to_proto(proto_type: type[ProtoChart]) → ProtoChart#

Convert to a protobuf chart message.