diff options
Diffstat (limited to 'src/svg.rs')
-rw-r--r-- | src/svg.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -605,7 +605,7 @@ mod test { let mut chart = ChartBuilder::on(&root) .caption("This is a test", ("sans-serif", 20)) .set_all_label_area_size(40) - .build_ranged(0..10, 0..10) + .build_cartesian_2d(0..10, 0..10) .unwrap(); chart @@ -676,7 +676,7 @@ mod test { let mut chart = ChartBuilder::on(&root) .caption("All anchor point positions", ("sans-serif", 20)) .set_all_label_area_size(40) - .build_ranged(0..100, 0..50) + .build_cartesian_2d(0..100, 0..50) .unwrap(); chart @@ -765,7 +765,7 @@ mod test { let mut chart = ChartBuilder::on(&root) .caption("All series label positions", ("sans-serif", 20)) .set_all_label_area_size(40) - .build_ranged(0..50, 0..50) + .build_cartesian_2d(0..50, 0..50) .unwrap(); chart |