# Vision XY Chart Dot Renderer Size and Fill

**URL:** <https://forum.inductiveautomation.com/t/vision-xy-chart-dot-renderer-size-and-fill/103349>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 6, 2025, 7:50pm UTC](https://forum.inductiveautomation.com/t/vision-xy-chart-dot-renderer-size-and-fill/103349 "2025-03-06T19:50:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Hathout\_Willar](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@Simon\_Hathout\_Willar](https://forum.inductiveautomation.com/u/Simon_Hathout_Willar)\
**Post date:** [March 6, 2025, 7:50pm UTC](https://forum.inductiveautomation.com/t/vision-xy-chart-dot-renderer-size-and-fill/103349/1 "2025-03-06T19:50:58Z")

</div>

Hello.

I've been fighting the vision XY plot for a bit, and realized it's likely an issue someone else has had before.

I don't like how the shape renderer looks, and want to use dots instead.

The default dot renderer only renders 1x1 pixel dots. I want to use 3x3 dots instead (ideally I could use circles rather than squares, but beggars cant be choosers).

Looking at some past forum posts, it seems like you can do something like

```python
def configureChart(self, chart):
  from org.jfree.chart.renderer.xy import XYDotRenderer
  from java.awt import Color
  dotRenderer = XYDotRenderer()
  dotRenderer.setDotWidth(4)
  dotRenderer.setDotHeight(4)	
  chart.getXYPlot().setRenderer(dotRenderer)

```

However, this sets it to render with a selected set of colours. Is there a way to change this set of colours?

I feel like I should be able to use something like "setSeriesFillPaint" from [XYItemRenderer (JFreeChart 1.5.0 API)](https://www.jfree.org/jfreechart/api/javadoc/index.html) for each series, but I get an error saying that method does not exist. Possibly the JFreeChart used is not the same version as the one in the API I am looking at.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 8, 2025, 7:38pm UTC](https://forum.inductiveautomation.com/t/vision-xy-chart-dot-renderer-size-and-fill/103349/2 "2025-03-08T19:38:26Z")

</div>

> [@Vision XY Chart change shape size](https://forum.inductiveautomation.com/t/vision-xy-chart-change-shape-size/79305):
>
> Ignition 8.1.25 I have an XY chart and I selected lines and shapes dataset type. The size of the shapes is a bit large for my liking since I can have hundreds of points. How can I use the configureChart function to adjust the size of these shapes?
